diff --git a/Gemfile b/Gemfile index eedca406..4468f192 100644 --- a/Gemfile +++ b/Gemfile @@ -13,6 +13,6 @@ group :development do gem "rdoc", "6.6.2" gem "rubocop", "1.59.0", require: false - gem "rubocop-minitest", "0.34.3", require: false + gem "rubocop-minitest", "0.34.5", require: false gem "standard", "1.33.0", require: false end diff --git a/test/test_integration_resultset.rb b/test/test_integration_resultset.rb index bea28a8f..531d6154 100644 --- a/test/test_integration_resultset.rb +++ b/test/test_integration_resultset.rb @@ -92,10 +92,10 @@ def test_real_translation @db.execute("insert into foo_real values (42)") @db.query("select a, sum(a), typeof(a), typeof(sum(a)) from foo_real") do |result| result = result.next - assert result[0].is_a?(Float) - assert result[1].is_a?(Float) - assert result[2].is_a?(String) - assert result[3].is_a?(String) + assert_kind_of Float, result[0] + assert_kind_of Float, result[1] + assert_kind_of String, result[2] + assert_kind_of String, result[3] end end diff --git a/test/test_statement.rb b/test/test_statement.rb index c74f9a22..0b74fdb7 100644 --- a/test/test_statement.rb +++ b/test/test_statement.rb @@ -326,7 +326,7 @@ def test_clear_bindings! end def test_stat - assert @stmt.stat.is_a?(Hash) + assert_kind_of Hash, @stmt.stat end def test_stat_fullscan_steps