提交 11bfc4b2 编写于 作者: G Grzegorz Bizon

Fix tests for job empty states for a failed build

上级 255f7386
......@@ -465,8 +465,8 @@ feature 'Jobs' do
end
end
context 'when job is running but has no trace yet' do
let(:job) { create(:ci_build, :running, pipeline: pipeline) }
context 'when job is failed but has no trace' do
let(:job) { create(:ci_build, :failed, pipeline: pipeline) }
it 'renders empty state' do
visit project_job_path(project, job)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册