Commit abf1cfff authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix tests, explicitly set the status

parent d79fb3e3
......@@ -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) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment