method
failure_message_for_should_not
1.2.8 -
Show latest stable
- Class:
Spec::Matchers::ThrowSymbol
failure_message_for_should_not()public
No documentation available.
# File lib/spec/matchers/throw_symbol.rb, line 52
def failure_message_for_should_not
if @expected_symbol
"expected #{expected} not to be thrown"
else
"expected no Symbol, got :#{@caught_symbol}"
end
end