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