method
verify_message

1.2.0 -
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 47 def verify_message case @expected_message when nil true when Regexp @expected_message =~ @given_error.message else @expected_message == @given_error.message end end