diff options
author | Nick Thomas <nick@gitlab.com> | 2017-06-02 16:18:24 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-06-05 15:08:06 +0300 |
commit | 158581a447bb4976161eca26ddcb2fccd25888ab (patch) | |
tree | 37c8ba0b0c21059246f351acb318e4f848606297 /spec/controllers/registrations_controller_spec.rb | |
parent | c34107608ecc5c36e80a748eb4c9b88d2b1157cf (diff) |
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) |