aboutsummaryrefslogtreecommitdiffstats
path: root/spec/workers
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/referential_cloning_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/referential_cloning_worker_spec.rb b/spec/workers/referential_cloning_worker_spec.rb
index 2b9a54805..74e83c3b2 100644
--- a/spec/workers/referential_cloning_worker_spec.rb
+++ b/spec/workers/referential_cloning_worker_spec.rb
@@ -10,7 +10,7 @@ RSpec.describe ReferentialCloningWorker do
it "invokes the clone! method of the associated ReferentialCloning" do
expect(ReferentialCloning).to receive(:find).with(id).and_return(referential_cloning)
- expect(referential_cloning).to receive(:clone!)
+ expect(referential_cloning).to receive(:clone_with_status!)
worker.perform(id)
end