spec/acfs/model/persistance_spec.rb in acfs-0.39.1 vs spec/acfs/model/persistance_spec.rb in acfs-0.40.0
- old
+ new
@@ -120,10 +120,10 @@
context 'with changes' do
let(:model) { model_class.find 1 }
before { model; Acfs.run; model.name = 'dhh' }
- it { expect(model).to_not be_persisted }
+ it { expect(model).to be_persisted }
it { expect(model).to_not be_new }
end
describe '#delete!' do
let(:model) { model_class.find 1 }