method
failure_message_for_should_not
rspec latest stable - Class:
Spec::Matchers::SimpleMatcher
failure_message_for_should_not()public
No documentation available.
# 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