diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-11-15 21:00:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-15 21:00:09 +0100 |
commit | 510e184216e69aeab3f3f4e421617c640aa7def9 (patch) | |
tree | fcbc7f25929b31aa21fb16ad9b47b90e22d6d6da /spec | |
parent | 24ea938ce188729913ad4c8c0a33899f9c1e733d (diff) |
Fix localization test failing due to order of locale definitions (#12393)
Diffstat (limited to 'spec')
-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' } |