method
negative_failure_message

RSpec latest stable (1.3.1)
-
0 notes -
Class: Spec::Matchers::ThrowSymbol
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
negative_failure_message()
public
Hide source
# File lib/spec/matchers/throw_symbol.rb, line 54 def negative_failure_message if @expected_symbol "expected #{expected} not to be thrown" else "expected no Symbol, got :#{@caught_symbol}" end end