summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-06-02 14:18:24 +0100
committerNick Thomas <nick@gitlab.com>2017-06-05 13:08:06 +0100
commit158581a447bb4976161eca26ddcb2fccd25888ab (patch)
tree37c8ba0b0c21059246f351acb318e4f848606297 /spec/controllers
parentc34107608ecc5c36e80a748eb4c9b88d2b1157cf (diff)
downloadgitlab-ce-158581a447bb4976161eca26ddcb2fccd25888ab.tar.gz
Refactor the DeleteUserWorker
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/registrations_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/registrations_controller_spec.rb b/spec/controllers/registrations_controller_spec.rb
index 71dd9ef3eb4..634563fc290 100644
--- a/spec/controllers/registrations_controller_spec.rb
+++ b/spec/controllers/registrations_controller_spec.rb
@@ -77,7 +77,7 @@ describe RegistrationsController do
end
it 'schedules the user for destruction' do
- expect(DeleteUserWorker).to receive(:perform_async).with(user.id, user.id)
+ expect(DeleteUserWorker).to receive(:perform_async).with(user.id, user.id, {})
post(:destroy)