method
negative_failure_message
RSpec latest stable (1.3.1)
-
0 notes -
Class: Spec::Matchers::SimpleMatcher
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0 (0)
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
negative_failure_message()
public
Hide source
# File lib/spec/matchers/simple_matcher.rb, line 29 def negative_failure_message @negative_failure_message || (@description.nil? ? explanation : %[expected not to get #{@description.inspect}, but got #{@given.inspect}]) end