diff options
author | Sean McGivern <sean@gitlab.com> | 2019-01-04 08:42:20 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-01-04 08:42:20 +0000 |
commit | 626f3d03676cb7d714d9c5e9d78c76bdfb2ddda0 (patch) | |
tree | b765d63b06e18561e463ef77d3ceb04146a26c00 /spec/services/ci | |
parent | d56124b5e16e15afd830a1bdc8c34a4a57d898d8 (diff) | |
parent | e893f560e01c0039a4fc4c6c93be8e82b5888b3b (diff) | |
download | gitlab-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.rb | 2 |
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) |