Skip to content

Commit

Permalink
Don't expand_path the tests in 2-2-stable as the target code doesn't.
Browse files Browse the repository at this point in the history
  • Loading branch information
NZKoz committed Jan 7, 2009
1 parent b3ece62 commit e7e34a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions railties/test/initializer_test.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ def test_config_defaults_and_settings_should_be_added_to_i18n_defaults


Rails::Initializer.run(:initialize_i18n, config) Rails::Initializer.run(:initialize_i18n, config)
assert_equal [ assert_equal [
File.expand_path("./test/../../activesupport/lib/active_support/locale/en.yml"), "./test/../../activesupport/lib/active_support/locale/en.yml",
File.expand_path("./test/../../actionpack/lib/action_view/locale/en.yml"), "./test/../../actionpack/lib/action_view/locale/en.yml",
"my/test/locale.yml", "my/test/locale.yml",
"my/other/locale.yml" ], I18n.load_path "my/other/locale.yml" ], I18n.load_path
end end
Expand All @@ -309,4 +309,4 @@ def test_setting_another_default_locale
assert_equal :de, I18n.default_locale assert_equal :de, I18n.default_locale
end end
end end
end end

0 comments on commit e7e34a4

Please sign in to comment.