Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Explicitly require action_view to bring in its i18n load path

  • Loading branch information...
commit d40bc307f9cc5836a3eb22e0cbdb612eaaf2bc04 1 parent 36dcfcf
@jeremy jeremy authored
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"),
Please sign in to comment.
Something went wrong with that request. Please try again.