Module: RSpec::Risky::Probe::ExpectationProbe::StandardExpectationPatch
- Defined in:
- lib/rspec/risky/probe/expectation_probe.rb
Instance Method Summary collapse
- #not_to(matcher = nil, message = nil, &block) ⇒ Object
- #to(matcher = nil, message = nil, &block) ⇒ Object
- #to_not(matcher = nil, message = nil, &block) ⇒ Object
Instance Method Details
#not_to(matcher = nil, message = nil, &block) ⇒ Object
27 28 29 30 |
# File 'lib/rspec/risky/probe/expectation_probe.rb', line 27 def not_to(matcher = nil, = nil, &block) ExpectationProbe.record_expectation if matcher super end |
#to(matcher = nil, message = nil, &block) ⇒ Object
22 23 24 25 |
# File 'lib/rspec/risky/probe/expectation_probe.rb', line 22 def to(matcher = nil, = nil, &block) ExpectationProbe.record_expectation if matcher super end |
#to_not(matcher = nil, message = nil, &block) ⇒ Object
32 33 34 35 |
# File 'lib/rspec/risky/probe/expectation_probe.rb', line 32 def to_not(matcher = nil, = nil, &block) ExpectationProbe.record_expectation if matcher super end |