Skip to content
Browse files

Explicitly require action_view to bring in its i18n load path

  • Loading branch information...
1 parent 4b858a5 commit b3ece62a0da8f863bc0643c6b6e6c925571f6a5b @NZKoz NZKoz committed Jan 7, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 railties/test/initializer_test.rb
View
3 railties/test/initializer_test.rb
@@ -291,6 +291,9 @@ def test_config_defaults_and_settings_should_be_added_to_i18n_defaults
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"),

0 comments on commit b3ece62

Please sign in to comment.
Something went wrong with that request. Please try again.