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-08-15 19:46:51 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-08-15 19:46:51 +0300
commitabf1cffff8afd6dcb181e532378ed1548dd62078 (patch)
tree33ad5a694f7cf9c0fc42780e43ab4a96085a567f /spec/requests/projects
parentd79fb3e3ca47f6d6cd7aa81811d884340a0b0a64 (diff)
Fix tests, explicitly set the status
Diffstat (limited to 'spec/requests/projects')
-rw-r--r--spec/requests/projects/artifacts_controller_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/requests/projects/artifacts_controller_spec.rb b/spec/requests/projects/artifacts_controller_spec.rb
index 952b9fb99b7..61d5e3d9a7d 100644
--- a/spec/requests/projects/artifacts_controller_spec.rb
+++ b/spec/requests/projects/artifacts_controller_spec.rb
@@ -8,7 +8,8 @@ describe Projects::ArtifactsController do
create(:ci_pipeline,
project: project,
sha: project.commit.sha,
- ref: project.default_branch)
+ ref: project.default_branch,
+ status: 'success')
end
let(:build) { create(:ci_build, :success, :artifacts, pipeline: pipeline) }