method

wont_be

ruby latest stable - Class: MiniTest::Expectations

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

wont_be
public

See MiniTest::Assertions#refute_operator

n.wont_be :<=, 42

This can also do predicates:

str.wont_be :empty?