Permalink
Browse files

Don't expand_path the tests in 2-2-stable as the target code doesn't.

  • Loading branch information...
1 parent b3ece62 commit e7e34a47ac4d3e2e00f0acfc88b38bfa33415b38 @NZKoz NZKoz committed Jan 7, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 railties/test/initializer_test.rb
@@ -296,8 +296,8 @@ def test_config_defaults_and_settings_should_be_added_to_i18n_defaults
Rails::Initializer.run(:initialize_i18n, config)
assert_equal [
- File.expand_path("./test/../../activesupport/lib/active_support/locale/en.yml"),
- File.expand_path("./test/../../actionpack/lib/action_view/locale/en.yml"),
+ "./test/../../activesupport/lib/active_support/locale/en.yml",
+ "./test/../../actionpack/lib/action_view/locale/en.yml",
"my/test/locale.yml",
"my/other/locale.yml" ], I18n.load_path
end
@@ -309,4 +309,4 @@ def test_setting_another_default_locale
assert_equal :de, I18n.default_locale
end
end
-end
+end

0 comments on commit e7e34a4

Please sign in to comment.