Commit 11bfc4b2 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix tests for job empty states for a failed build

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