RSpec::Matchers::BuiltIn::BaseMatcher
@api private
# File lib/rspec/rails/matchers/be_new_record.rb, line 5 def matches?(actual) !actual.persisted? end