method
refute_predicate
v2_1_10 -
Show latest stable
- Class:
MiniTest::Assertions
refute_predicate(o1, op, msg = nil)public
For testing with predicates.
refute_predicate str, :empty?
This is really meant for specs and is front-ended by refute_operator:
str.wont_be :empty?