Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-19 17:08:16 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-07-19 17:08:16 +0300
commit6054c855a082fd822611d358914ac20695608e5b (patch)
treed3e8ad6749159d4b8f3e6f930d062742aae751f0 /spec/requests/api/builds_spec.rb
parent87604ed6ceb7d088dd4ebbc20185fe6ef46180c5 (diff)
Only allow branches/tags, disallow SHA:
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13170854
Diffstat (limited to 'spec/requests/api/builds_spec.rb')
-rw-r--r--spec/requests/api/builds_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/requests/api/builds_spec.rb b/spec/requests/api/builds_spec.rb
index 47bcc0eebdd..20d3ed61123 100644
--- a/spec/requests/api/builds_spec.rb
+++ b/spec/requests/api/builds_spec.rb
@@ -255,14 +255,6 @@ describe API::API, api: true do
create(:ci_build, status, :artifacts, pipeline: new_pipeline)
end
- context 'with sha' do
- before do
- get path_from_ref(pipeline.sha)
- end
-
- it('gives the file') { verify }
- end
-
context 'with regular branch' do
before do
pipeline.update(ref: 'master',