method
failure_message_for_should
rspec latest stable - Class:
Spec::Matchers::RaiseError
failure_message_for_should()public
No documentation available.
# File lib/spec/matchers/raise_error.rb, line 59
def failure_message_for_should
@eval_block ? @actual_error.message : "expected #{expected_error}#{given_error}"
end