method
failure_message
RSpec latest stable (1.3.1)
-
0 notes -
Class: Spec::Matchers::RaiseError
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
failure_message()
public
Hide source
# File lib/spec/matchers/raise_error.rb, line 58 def failure_message @eval_block ? @given_error.message : "expected #{expected_error}#{given_error}" end