summaryrefslogtreecommitdiff
path: root/spec/services/ci
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-01-04 08:42:20 +0000
committerSean McGivern <sean@gitlab.com>2019-01-04 08:42:20 +0000
commit626f3d03676cb7d714d9c5e9d78c76bdfb2ddda0 (patch)
treeb765d63b06e18561e463ef77d3ceb04146a26c00 /spec/services/ci
parentd56124b5e16e15afd830a1bdc8c34a4a57d898d8 (diff)
parente893f560e01c0039a4fc4c6c93be8e82b5888b3b (diff)
downloadgitlab-ce-626f3d03676cb7d714d9c5e9d78c76bdfb2ddda0.tar.gz
Merge branch 'dm-git-access-any-ce' into 'master'
[CE] Don't run checks for changed refs when specific changes are unknown See merge request gitlab-org/gitlab-ce!23990
Diffstat (limited to 'spec/services/ci')
-rw-r--r--spec/services/ci/retry_pipeline_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/ci/retry_pipeline_service_spec.rb b/spec/services/ci/retry_pipeline_service_spec.rb
index 55445e71539..75042b29bea 100644
--- a/spec/services/ci/retry_pipeline_service_spec.rb
+++ b/spec/services/ci/retry_pipeline_service_spec.rb
@@ -285,7 +285,7 @@ describe Ci::RetryPipelineService, '#execute' do
end
it 'allows to retry failed pipeline' do
- allow_any_instance_of(Project).to receive(:fetch_branch_allows_collaboration?).and_return(true)
+ allow_any_instance_of(Project).to receive(:branch_allows_collaboration?).and_return(true)
allow_any_instance_of(Project).to receive(:empty_repo?).and_return(false)
service.execute(pipeline)