diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-02 18:10:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-02 18:10:10 +0300 |
commit | f62efc386492a3e7ee2243202389d29ab62b5978 (patch) | |
tree | dad7ba9a804344ed166b20cc3613de97962eea55 /spec/models/user_spec.rb | |
parent | 610d783b61f3c3c7d19e6167df26368a7e8a0075 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r-- | spec/models/user_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index bc425b15c6e..263f8ba4afd 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -5335,7 +5335,7 @@ RSpec.describe User do let(:deleted_by) { create(:user) } it 'blocks the user then schedules them for deletion if a hard delete is specified' do - expect(DeleteUserWorker).to receive(:perform_async).with(deleted_by.id, user.id, hard_delete: true) + expect(DeleteUserWorker).to receive(:perform_async).with(deleted_by.id, user.id, { hard_delete: true }) user.delete_async(deleted_by: deleted_by, params: { hard_delete: true }) |