method

failure_message

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

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/throw_symbol.rb, line 46
      def failure_message
        if @caught_symbol
          "expected #{expected}, got #{@caught_symbol.inspect}"
        else
          "expected #{expected} but nothing was thrown"
        end
      end