From d1371278599bee1b0260f76aae31b8e74ea524d2 Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Sun, 21 Jan 2024 07:09:17 +0100 Subject: [PATCH] fix rubocop offenses --- test/unit/i18n_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/i18n_test.rb b/test/unit/i18n_test.rb index c53e251..3fd22c8 100644 --- a/test/unit/i18n_test.rb +++ b/test/unit/i18n_test.rb @@ -14,8 +14,8 @@ def teardown end def test_valid_languages - assert valid_languages.is_a?(Array) - assert valid_languages.first.is_a?(Symbol) + assert_kind_of Array, valid_languages + assert_kind_of Symbol, valid_languages.first end def test_locales_validness