0
0
Fork 0

Fix localization test failing due to order of locale definitions (#12393)

This commit is contained in:
Eugen Rochko 2019-11-15 21:00:09 +01:00 committed by GitHub
parent 24ea938ce1
commit 510e184216
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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' }