Flowdock
method

verify_message

Importance_0
verify_message() public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

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
Register or log in to add new notes.