diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-10-16 18:42:55 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-10-16 18:42:55 -0500 |
commit | 3971d972c304272dbbd88d5d5df14b5739e801a2 (patch) | |
tree | ce855131a1c007a849a42d7405cbbb4ee541e848 /railties/test/initializer | |
parent | c296b33ef1ca9f2d576104e3938bd21afba02377 (diff) | |
download | rails-3971d972c304272dbbd88d5d5df14b5739e801a2.tar.gz rails-3971d972c304272dbbd88d5d5df14b5739e801a2.tar.bz2 rails-3971d972c304272dbbd88d5d5df14b5739e801a2.zip |
Expand paths in i18n initializer tests
Diffstat (limited to 'railties/test/initializer')
-rw-r--r-- | railties/test/initializer/initialize_i18n_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/initializer/initialize_i18n_test.rb b/railties/test/initializer/initialize_i18n_test.rb index 5d921cb21a..92ac1312bf 100644 --- a/railties/test/initializer/initialize_i18n_test.rb +++ b/railties/test/initializer/initialize_i18n_test.rb @@ -25,7 +25,7 @@ module InitializerTests #{RAILS_FRAMEWORK_ROOT}/actionpack/lib/action_view/locale/en.yml #{RAILS_FRAMEWORK_ROOT}/railties/tmp/app/config/locales/en.yml my/other/locale.yml - ), I18n.load_path + ).map { |path| File.expand_path(path) }, I18n.load_path.map { |path| File.expand_path(path) } end test "i18n finds locale files in engines" do @@ -49,7 +49,7 @@ module InitializerTests #{app_path}/config/locales/en.yml my/other/locale.yml #{app_path}/vendor/plugins/engine/config/locales/en.yml - ), I18n.load_path + ).map { |path| File.expand_path(path) }, I18n.load_path.map { |path| File.expand_path(path) } end end end
\ No newline at end of file |