spec/feature/reload_model_spec.rb in saviour-0.6.4 vs spec/feature/reload_model_spec.rb in saviour-0.6.5

- old
+ new

@@ -10,10 +10,10 @@ klass.attach_file :file, uploader a = klass.create! b = klass.find(a.id) with_test_file("example.xml") do |example| - a.update_attributes! file: example + a.update! file: example expect(a.file.exists?).to be_truthy expect(b.file.exists?).to be_falsey b.reload(lock: false) expect(b.file.exists?).to be_truthy