Method: BaconExpect::Expectation#fail
- Defined in:
- lib/bacon-expect/expectation.rb
#fail(matcher, negated) ⇒ Object
29 30 31 |
# File 'lib/bacon-expect/expectation.rb', line 29 def fail(matcher, negated) raise matcher.fail!(@subject, negated, &@subject_block) end |