Fix tests, explicitly set the status

This commit is contained in:
Lin Jen-Shin 2016-08-16 00:46:51 +08:00
parent d79fb3e3ca
commit abf1cffff8
1 changed files with 2 additions and 1 deletions

View File

@ -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) }