diff options
author | ThibG <thib@sitedethib.com> | 2019-11-21 10:01:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-21 10:01:26 +0100 |
commit | 55f5e81a9dc4c6cede5d43e549061be2ea9be614 (patch) | |
tree | 6b8944b2bf8e13ba76627a0e38886dfb3b35c566 /spec/requests | |
parent | 707c4918b21d19dd53b64120dbc7263f45fc5ecd (diff) | |
parent | e87cc59811fab285033cc78d97ad7f0b8df9c081 (diff) |
Merge pull request #1246 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/localization_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/localization_spec.rb b/spec/requests/localization_spec.rb index 496a885e8..175f02ae9 100644 --- a/spec/requests/localization_spec.rb +++ b/spec/requests/localization_spec.rb @@ -26,6 +26,7 @@ describe 'Localization' do I18n.t('about.tagline', locale: 'es') ) end + it 'falls back to english when locale is missing' do headers = { 'Accept-Language' => '12-FAKE' } |