lib/rubocop/cop/minitest/refute_predicate.rb in rubocop-minitest-0.20.1 vs lib/rubocop/cop/minitest/refute_predicate.rb in rubocop-minitest-0.21.0
- old
+ new
@@ -19,10 +19,10 @@
include ArgumentRangeHelper
include PredicateAssertionHandleable
extend AutoCorrector
MSG = 'Prefer using `refute_predicate(%<new_arguments>s)`.'
- RESTRICT_ON_SEND = %i[refute].freeze
+ RESTRICT_ON_SEND = %i[refute].freeze # rubocop:disable InternalAffairs/UselessRestrictOnSend
private
def assertion_type
'refute'