Method: JsonSpec::Matchers::HaveJsonPath#failure_message_when_negated

Defined in:
lib/json_spec/matchers/have_json_path.rb

#failure_message_when_negatedObject Also known as: failure_message_for_should_not



22
23
24
# File 'lib/json_spec/matchers/have_json_path.rb', line 22

def failure_message_when_negated
  %(Expected no JSON path "#{@path}")
end