aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-11-24 21:47:09 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2008-11-24 21:47:09 -0800
commitd40bc307f9cc5836a3eb22e0cbdb612eaaf2bc04 (patch)
tree00e0f00a6753bd2e6600d4e36d355b7f189e93da /railties
parent36dcfcf126b7e7ba33ebe0d7148c9023e7494464 (diff)
downloadrails-d40bc307f9cc5836a3eb22e0cbdb612eaaf2bc04.tar.gz
rails-d40bc307f9cc5836a3eb22e0cbdb612eaaf2bc04.tar.bz2
rails-d40bc307f9cc5836a3eb22e0cbdb612eaaf2bc04.zip
Explicitly require action_view to bring in its i18n load path
Diffstat (limited to 'railties')
-rw-r--r--railties/test/initializer_test.rb3
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"),