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