mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Make i18n test match the description of the test
This commit is contained in:
parent
ee840ac903
commit
3260c6e162
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ fr:
|
|||
end
|
||||
|
||||
test "[shortcut] config.i18n.fallbacks = [{ :ca => :'es-ES' }] initializes fallbacks with a mapping ca => es-ES" do
|
||||
I18n::Railtie.config.i18n.fallbacks.map = { ca: :'es-ES' }
|
||||
I18n::Railtie.config.i18n.fallbacks = [{ ca: :'es-ES' }]
|
||||
load_app
|
||||
assert_fallbacks ca: [:ca, :"es-ES", :es, :en]
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue