diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2017-06-09 09:52:28 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2017-06-09 09:52:28 -0500 |
commit | 3260c6e162727f5a5aaa0efe377a2c4561a8be33 (patch) | |
tree | 0b54b95311ff84d0b59ffc783d108fc7c8e71f3f /railties/test | |
parent | ee840ac9037678f128b141bc85ed2d6b7916eb1d (diff) | |
download | rails-3260c6e162727f5a5aaa0efe377a2c4561a8be33.tar.gz rails-3260c6e162727f5a5aaa0efe377a2c4561a8be33.tar.bz2 rails-3260c6e162727f5a5aaa0efe377a2c4561a8be33.zip |
Make i18n test match the description of the test
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/initializers/i18n_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/initializers/i18n_test.rb b/railties/test/application/initializers/i18n_test.rb index 206e42703b..cee198bd01 100644 --- a/railties/test/application/initializers/i18n_test.rb +++ b/railties/test/application/initializers/i18n_test.rb @@ -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 |