Parent

Methods

Included Modules

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 6
def matches?(actual)
  !actual.persisted?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.