diff options
author | Nick Thomas <nick@gitlab.com> | 2017-06-02 14:18:24 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-06-05 13:08:06 +0100 |
commit | 158581a447bb4976161eca26ddcb2fccd25888ab (patch) | |
tree | 37c8ba0b0c21059246f351acb318e4f848606297 /spec/controllers/registrations_controller_spec.rb | |
parent | c34107608ecc5c36e80a748eb4c9b88d2b1157cf (diff) | |
download | gitlab-ce-158581a447bb4976161eca26ddcb2fccd25888ab.tar.gz |
Refactor the DeleteUserWorker
Diffstat (limited to 'spec/controllers/registrations_controller_spec.rb')
-rw-r--r-- | spec/controllers/registrations_controller_spec.rb | 2 |
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) |