From dcba6e114884d993089fc1aa47bfaa7c4258a536 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Mon, 1 Jun 2009 13:44:43 -0700 Subject: [PATCH] Fix initializer i18n path test --- railties/test/initializer_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/railties/test/initializer_test.rb b/railties/test/initializer_test.rb index bdda319916..987a5ada86 100644 --- a/railties/test/initializer_test.rb +++ b/railties/test/initializer_test.rb @@ -312,6 +312,7 @@ class InitializerSetupI18nTests < Test::Unit::TestCase assert_equal [ File.expand_path(File.dirname(__FILE__) + "/../../activesupport/lib/active_support/locale/en.yml"), File.expand_path(File.dirname(__FILE__) + "/../../actionpack/lib/action_view/locale/en.yml"), + File.expand_path(File.dirname(__FILE__) + "/../../activemodel/lib/active_model/locale/en.yml"), File.expand_path(File.dirname(__FILE__) + "/../../activerecord/lib/active_record/locale/en.yml"), "my/test/locale.yml", "my/other/locale.yml" ], I18n.load_path.collect { |path| path =~ /^\./ ? File.expand_path(path) : path }