Browse files

Reflect default locale change from en-US to en

  • Loading branch information...
1 parent 7ee9add commit 549388c244a87562030268689fdfc051c680ec0d @jeremy jeremy committed Nov 19, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 railties/test/initializer_test.rb
View
6 railties/test/initializer_test.rb
@@ -293,8 +293,8 @@ def test_config_defaults_and_settings_should_be_added_to_i18n_defaults
Rails::Initializer.run(:initialize_i18n, config)
assert_equal [
- "./test/../../activesupport/lib/active_support/locale/en-US.yml",
- "./test/../../actionpack/lib/action_view/locale/en-US.yml",
+ File.expand_path("./test/../../activesupport/lib/active_support/locale/en.yml"),
+ File.expand_path("./test/../../actionpack/lib/action_view/locale/en.yml"),
"my/test/locale.yml",
"my/other/locale.yml" ], I18n.load_path
end
@@ -306,4 +306,4 @@ def test_setting_another_default_locale
assert_equal :de, I18n.default_locale
end
end
-end
+end

0 comments on commit 549388c

Please sign in to comment.