lib/rubocop/cop/minitest/assert_kind_of.rb in rubocop-minitest-0.11.1 vs lib/rubocop/cop/minitest/assert_kind_of.rb in rubocop-minitest-0.12.0
- old
+ new
@@ -13,10 +13,10 @@
#
# # good
# assert_kind_of(Class, object)
# assert_kind_of(Class, object, 'message')
#
- class AssertKindOf < Cop
+ class AssertKindOf < Base
extend MinitestCopRule
define_rule :assert, target_method: :kind_of?, inverse: true
end
end