method
verify_message
1.2.8 -
Show latest stable
-
0 notes -
Class: Spec::Matchers::RaiseError
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0 (0)
- 1.2.8 (0)
- 1.3.0
- 1.3.1
- What's this?
verify_message()
public
Hide source
# File lib/spec/matchers/raise_error.rb, line 48 def verify_message case @expected_message when nil true when Regexp @expected_message =~ @actual_error.message else @expected_message == @actual_error.message end end