summaryrefslogtreecommitdiff
path: root/spec/workers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-09 09:10:18 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-09 09:10:18 +0000
commit82a546b14c7613fe355b3e68c425d5da8779641a (patch)
treeb7bce66a952a66375e0e4eeb8cbedc38c9479ebf /spec/workers
parenta5628d3b6d9b74f5902f790ceddd6374148c9d71 (diff)
downloadgitlab-ce-82a546b14c7613fe355b3e68c425d5da8779641a.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/web_hook_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/web_hook_worker_spec.rb b/spec/workers/web_hook_worker_spec.rb
index 066f4f67cb9..548cf4c717a 100644
--- a/spec/workers/web_hook_worker_spec.rb
+++ b/spec/workers/web_hook_worker_spec.rb
@@ -10,7 +10,7 @@ RSpec.describe WebHookWorker do
describe '#perform' do
it 'delegates to WebHookService' do
- expect_next(WebHookService, project_hook, data.with_indifferent_access, hook_name).to receive(:execute)
+ expect_next(WebHookService, project_hook, data.with_indifferent_access, hook_name, anything).to receive(:execute)
subject.perform(project_hook.id, data, hook_name)
end