diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-08 12:09:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-08 12:09:42 +0000 |
commit | 403678e00406edc8094f087ec70e00aa29e49bef (patch) | |
tree | 447d6d4967e9a11895683b27e637a50bd9fc0602 /spec/workers | |
parent | f5050253469fc0961c02deec0e698ad62bdd9de5 (diff) | |
download | gitlab-ce-403678e00406edc8094f087ec70e00aa29e49bef.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/update_external_pull_requests_worker_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/workers/update_external_pull_requests_worker_spec.rb b/spec/workers/update_external_pull_requests_worker_spec.rb index 8930a36ceb8..afac0357b2d 100644 --- a/spec/workers/update_external_pull_requests_worker_spec.rb +++ b/spec/workers/update_external_pull_requests_worker_spec.rb @@ -28,10 +28,10 @@ describe UpdateExternalPullRequestsWorker do context 'when ref is a branch' do let(:ref) { 'refs/heads/feature-1' } - let(:create_pipeline_service) { instance_double(ExternalPullRequests::CreatePipelineService) } + let(:create_pipeline_service) { instance_double(Ci::ExternalPullRequests::CreatePipelineService) } it 'runs CreatePipelineService for each pull request matching the source branch and repository' do - expect(ExternalPullRequests::CreatePipelineService) + expect(Ci::ExternalPullRequests::CreatePipelineService) .to receive(:new) .and_return(create_pipeline_service) .twice @@ -45,7 +45,7 @@ describe UpdateExternalPullRequestsWorker do let(:ref) { 'refs/tags/v1.2.3' } it 'does nothing' do - expect(ExternalPullRequests::CreatePipelineService).not_to receive(:new) + expect(Ci::ExternalPullRequests::CreatePipelineService).not_to receive(:new) subject end |