# File lib/rspec/rails/mocks.rb, line 28 def destroy self.stub(:persisted?) { false } self.stub(:id) { nil } end