Class: Surrogate::RSpec::VerbMatcher::FailureMessageShouldDefault

Inherits:
AbstractFailureMessage show all
Defined in:
lib/surrogate/rspec/verb_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_messageObject



7
8
9
# File 'lib/surrogate/rspec/verb_matcher.rb', line 7

def get_message
  "was never told to #{ method_name }"
end