diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-12 06:10:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-12 06:10:21 +0300 |
commit | 3e7f2f00ca92b26d631009c5f45986500a27024b (patch) | |
tree | f91f6c4dc97a762a58190b4bb9ea355e2fc2cd7c /spec/workers/update_merge_requests_worker_spec.rb | |
parent | a160c4b1a72105a751cdc2f9f973dbe39a1c0dfd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/update_merge_requests_worker_spec.rb')
-rw-r--r-- | spec/workers/update_merge_requests_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/update_merge_requests_worker_spec.rb b/spec/workers/update_merge_requests_worker_spec.rb index fb12086c2f4..bd0dc2f9ef4 100644 --- a/spec/workers/update_merge_requests_worker_spec.rb +++ b/spec/workers/update_merge_requests_worker_spec.rb @@ -20,7 +20,7 @@ RSpec.describe UpdateMergeRequestsWorker do end it 'executes MergeRequests::RefreshService with expected values' do - expect_next_instance_of(MergeRequests::RefreshService, project, user) do |refresh_service| + expect_next_instance_of(MergeRequests::RefreshService, project: project, current_user: user) do |refresh_service| expect(refresh_service).to receive(:execute).with(oldrev, newrev, ref) end |