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