Class: RuboCop::Cop::Minitest::RefuteRespondTo
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::Minitest::RefuteRespondTo
- Extended by:
- RuboCop::Cop::MinitestCopRule
- Defined in:
- lib/rubocop/cop/minitest/refute_respond_to.rb
Overview
Enforces the test to use ‘refute_respond_to(object, :do_something)` over `refute(object.respond_to?(:do_something))`.