mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix initializer i18n path test
This commit is contained in:
parent
94911c7af7
commit
dcba6e1148
1 changed files with 1 additions and 0 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue