diff --git a/test/unit/i18n_test.rb b/test/unit/i18n_test.rb index a36754e..75ea669 100644 --- a/test/unit/i18n_test.rb +++ b/test/unit/i18n_test.rb @@ -19,7 +19,7 @@ def test_valid_languages end def test_locales_validness - lang_files_count = Dir[Rails.root.join('plugins/redmine_privacy_terms/config/locales/*.yml')].size + lang_files_count = Rails.root.glob('plugins/redmine_privacy_terms/config/locales/*.yml').size assert_equal 2, lang_files_count