lib/rubocop/cop/minitest/refute_includes.rb in rubocop-minitest-0.11.1 vs lib/rubocop/cop/minitest/refute_includes.rb in rubocop-minitest-0.12.0
- old
+ new
@@ -13,10 +13,10 @@
#
# # good
# refute_includes(collection, object)
# refute_includes(collection, object, 'message')
#
- class RefuteIncludes < Cop
+ class RefuteIncludes < Base
extend MinitestCopRule
define_rule :refute, target_method: :include?, preferred_method: :refute_includes
end
end