lib/rubocop/cop/minitest/assert_respond_to.rb in rubocop-minitest-0.11.1 vs lib/rubocop/cop/minitest/assert_respond_to.rb in rubocop-minitest-0.12.0
- old
+ new
@@ -15,10 +15,10 @@
# # good
# assert_respond_to(object, :do_something)
# assert_respond_to(object, :do_something, 'message')
# assert_respond_to(self, :do_something)
#
- class AssertRespondTo < Cop
+ class AssertRespondTo < Base
extend MinitestCopRule
define_rule :assert, target_method: :respond_to?
end
end