diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-15 19:46:51 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-15 19:46:51 +0300 |
commit | abf1cffff8afd6dcb181e532378ed1548dd62078 (patch) | |
tree | 33ad5a694f7cf9c0fc42780e43ab4a96085a567f /spec/requests/projects | |
parent | d79fb3e3ca47f6d6cd7aa81811d884340a0b0a64 (diff) |
Fix tests, explicitly set the status
Diffstat (limited to 'spec/requests/projects')
-rw-r--r-- | spec/requests/projects/artifacts_controller_spec.rb | 3 |
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) } |