summaryrefslogtreecommitdiffstats
path: root/spec/requests
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-11-15 21:00:09 +0100
committerGitHub <noreply@github.com>2019-11-15 21:00:09 +0100
commit510e184216e69aeab3f3f4e421617c640aa7def9 (patch)
treefcbc7f25929b31aa21fb16ad9b47b90e22d6d6da /spec/requests
parent24ea938ce188729913ad4c8c0a33899f9c1e733d (diff)
Fix localization test failing due to order of locale definitions (#12393)
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/localization_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/localization_spec.rb b/spec/requests/localization_spec.rb
index 496a885e8d9..175f02ae997 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' }