Method: RSpec::Matchers::BuiltIn::Exist#failure_message_when_negated
- Defined in:
- lib/rspec/matchers/built_in/exist.rb
#failure_message_when_negated ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
36 37 38 |
# File 'lib/rspec/matchers/built_in/exist.rb', line 36 def "expected #{actual_formatted} not to exist#{@test.validity_message}" end |