Class: Surrogate::RSpec::PredicateMatcher::FailureMessageShouldNotTimes
- Inherits:
-
AbstractFailureMessage
- Object
- AbstractFailureMessage
- Surrogate::RSpec::PredicateMatcher::FailureMessageShouldNotTimes
- Defined in:
- lib/surrogate/rspec/predicate_matcher.rb
Instance Attribute Summary
Attributes inherited from AbstractFailureMessage
#invocations, #method_name, #times_predicate, #with_filter
Instance Method Summary collapse
Methods inherited from AbstractFailureMessage
#expected_invocation, #expected_times_invoked, #initialize, #inspect_arguments, #times_invoked, #times_msg
Constructor Details
This class inherits a constructor from Surrogate::RSpec::AbstractFailureMessage
Instance Method Details
#get_message ⇒ Object
54 55 56 |
# File 'lib/surrogate/rspec/predicate_matcher.rb', line 54 def "shouldn't have been asked if #{ method_name } #{ times_msg expected_times_invoked }, but was" end |