method
given_error
rspec latest stable - Class:
Spec::Matchers::RaiseError
given_error()private
No documentation available.
# File lib/spec/matchers/raise_error.rb, line 83
def given_error
@actual_error.nil? ? " but nothing was raised" : ", got #{@actual_error.inspect}"
end