Method: BaconExpect::Expectation#not_to
- Defined in:
- lib/bacon-expect/expectation.rb
#not_to(matcher) ⇒ Object Also known as: to_not
19 20 21 22 |
# File 'lib/bacon-expect/expectation.rb', line 19 def not_to(matcher) fail(matcher, true) if matcher_passes(matcher) assert end |