Class: RSpec::Matchers::OperatorMatcher
- Inherits:
-
Object
- Object
- RSpec::Matchers::OperatorMatcher
- Defined in:
- lib/monkey/rspec.rb
Instance Method Summary collapse
- #eval_match_with_reporting(actual, operator, expected) ⇒ Object (also: #eval_match)
Instance Method Details
#eval_match_with_reporting(actual, operator, expected) ⇒ Object Also known as: eval_match
4 5 6 7 8 9 10 11 12 |
# File 'lib/monkey/rspec.rb', line 4 def eval_match_with_reporting(actual, operator, expected) return eval_match_without_reporting(actual, operator, expected) unless InteractiveRspec.rspec_mode InteractiveRspec.report begin eval_match_without_reporting(actual, operator, expected) rescue RSpec::Expectations::ExpectationNotMetError => err err end end |