method

failure_message

rspec latest stable - Class: Spec::Matchers::RaiseError

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

failure_message()
public

No documentation available.

# File lib/spec/matchers/raise_error.rb, line 58
      def failure_message
        @eval_block ? @given_error.message : "expected #{expected_error}#{given_error}"
      end