diff options
-rw-r--r-- | railties/test/initializer_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/test/initializer_test.rb b/railties/test/initializer_test.rb index e09fd3d34e..82c8abc290 100644 --- a/railties/test/initializer_test.rb +++ b/railties/test/initializer_test.rb @@ -291,6 +291,9 @@ uses_mocha 'i18n settings' do config = Rails::Configuration.new config.i18n.load_path << "my/other/locale.yml" + # To bring in AV's i18n load path. + require 'action_view' + Rails::Initializer.run(:initialize_i18n, config) assert_equal [ File.expand_path("./test/../../activesupport/lib/active_support/locale/en.yml"), |