method

failure_message

Importance_0
1.1.4 - Show latest stable - 0 notes - Class: Spec::Matchers::ThrowSymbol
failure_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/throw_symbol.rb, line 25
      def failure_message
        if @actual
          "expected #{expected}, got #{@actual.inspect}"
        else
          "expected #{expected} but nothing was thrown"
        end
      end
Register or log in to add new notes.