summaryrefslogtreecommitdiff
path: root/spec/features/projects
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2019-07-26 14:32:20 +0000
committerRobert Speicher <rspeicher@gmail.com>2019-07-26 14:32:20 +0000
commit900ef6fc316c7d4024545b5d08598c61fa9f3936 (patch)
tree7d3bcf2a70326434f67be6dcffa8e55489d60944 /spec/features/projects
parent995d8e6c5e52afc294573e016f86f2a429b85d8e (diff)
parentae58f82e62d60edf0a1de2790d1798f5b5f16b28 (diff)
downloadgitlab-ce-900ef6fc316c7d4024545b5d08598c61fa9f3936.tar.gz
Merge branch 'mc/feature/find-all-artifacts-for-sha' into 'master'
Find build by sha from ref Closes #64534 and #45697 See merge request gitlab-org/gitlab-ce!30843
Diffstat (limited to 'spec/features/projects')
-rw-r--r--spec/features/projects/artifacts/user_downloads_artifacts_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/artifacts/user_downloads_artifacts_spec.rb b/spec/features/projects/artifacts/user_downloads_artifacts_spec.rb
index 5cb015e80be..69296ef00fd 100644
--- a/spec/features/projects/artifacts/user_downloads_artifacts_spec.rb
+++ b/spec/features/projects/artifacts/user_downloads_artifacts_spec.rb
@@ -1,8 +1,8 @@
require "spec_helper"
describe "User downloads artifacts" do
- set(:project) { create(:project, :public) }
- set(:pipeline) { create(:ci_empty_pipeline, status: :success, project: project) }
+ set(:project) { create(:project, :repository, :public) }
+ set(:pipeline) { create(:ci_empty_pipeline, status: :success, sha: project.commit.id, project: project) }
set(:job) { create(:ci_build, :artifacts, :success, pipeline: pipeline) }
shared_examples "downloading" do