summaryrefslogtreecommitdiff
path: root/spec/workers/delete_user_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/delete_user_worker_spec.rb')
-rw-r--r--spec/workers/delete_user_worker_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/workers/delete_user_worker_spec.rb b/spec/workers/delete_user_worker_spec.rb
index 06b470f68f2..0765573408c 100644
--- a/spec/workers/delete_user_worker_spec.rb
+++ b/spec/workers/delete_user_worker_spec.rb
@@ -5,15 +5,15 @@ describe DeleteUserWorker do
let!(:current_user) { create(:user) }
it "calls the DeleteUserWorker with the params it was given" do
- expect_any_instance_of(Users::DestroyService).to receive(:execute)
- .with(user, {})
+ expect_any_instance_of(Users::DestroyService).to receive(:execute).
+ with(user, {})
DeleteUserWorker.new.perform(current_user.id, user.id)
end
it "uses symbolized keys" do
- expect_any_instance_of(Users::DestroyService).to receive(:execute)
- .with(user, test: "test")
+ expect_any_instance_of(Users::DestroyService).to receive(:execute).
+ with(user, test: "test")
DeleteUserWorker.new.perform(current_user.id, user.id, "test" => "test")
end