class RSpec::Rails::Matchers::BeANewRecord

def failure_message_when_negated

def failure_message_when_negated
  "expected #{actual.inspect} to be persisted, but was a new record"
end