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