You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec
Matt Jankowski f5cd138323 Improve i18n chooser (#1804)
* Add locale spec with failing locale plus region check

* Use a more accurate locale when supplied by browser headers

Previously we were using a matching option which would use the first locale
available which matched the locale portion, even if a region was specified.

This changes to first try to find an exact match, and then fall back to the
region, and then fall back to the  default.

* Clean up default_locale method
8 years ago
..
controllers Admin reports controller improvements (#1714) 8 years ago
fabricators Admin reports controller improvements (#1714) 8 years ago
fixtures Imports controller errors (#1553) 8 years ago
helpers Remove pending specs for methods that dont exist (#1658) 8 years ago
javascript Add unit tests for https://github.com/tootsuite/mastodon/pull/1574 (#1584) 8 years ago
lib Fix tests issue introduced in #1607 (#1639) 8 years ago
mailers Add digest e-mails 8 years ago
models Admin reports controller improvements (#1714) 8 years ago
presenters Clean up about page (#1282) 8 years ago
requests Improve i18n chooser (#1804) 8 years ago
routing Clean up well-known routes/controllers (#1649) 8 years ago
services Fix #1141, fix #1126 - Avatar/profile info fetching (#1215) 8 years ago
support/matchers/model add more tests to models 8 years ago
i18n_spec.rb
rails_helper.rb add more tests to models 8 years ago
spec_helper.rb Organize coverage dirs (#1695) 8 years ago