method
failure_message_for_should
1.2.8 -
Show latest stable
-
0 notes -
Class: Spec::Matchers::RaiseError
- 1.1.4
- 1.1.12
- 1.2.0 (0)
- 1.2.8 (0)
- 1.3.0
- 1.3.1
- What's this?
failure_message_for_should()
public
Hide source
# 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