class RuboCop::Cop::Minitest::AssertPredicate


assert_predicate(obj, :one?, ‘message’)
assert_predicate(obj, :one?)
# good
assert(obj.one?, ‘message’)
assert(obj.one?)
# bad
@example
instead of using ‘assert(obj.a_predicate_method?)`.
This cop enforces the test to use `assert_predicate`

def assertion_type

def assertion_type
  'assert'
end