Method: RSpec::Matchers::BuiltIn::RaiseError#failure_message
- Defined in:
- lib/rspec/matchers/built_in/raise_error.rb
#failure_message ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
105 106 107 |
# File 'lib/rspec/matchers/built_in/raise_error.rb', line 105 def @eval_block ? : "expected #{expected_error}#{given_error}" end |