From 8f7eece900fb47b08a3c0466f3eed0841b2472fa Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Sun, 25 Aug 2024 19:24:43 +0200 Subject: [PATCH] Fixed rubocop offenses --- test/unit/i18n_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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