Parent

Methods

Files

Class/Module Index [+]

Quicksearch

RSpec::Rails::Matchers::BeANewRecord

Public Instance Methods

matches?(actual) click to toggle source

@api private

# File lib/rspec/rails/matchers/be_new_record.rb, line 5
def matches?(actual)
  !actual.persisted?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.