Add missing trace artifacts to jobs in spec

This commit is contained in:
Matija Čupić 2018-04-06 16:47:50 +02:00
parent 2bf8345542
commit 6d0c9c9403
No known key found for this signature in database
GPG Key ID: 4BAF84FFACD2E5DE
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ describe 'User browses a job', :js do
end
context 'with a failed job' do
let!(:build) { create(:ci_build, :failed, pipeline: pipeline) }
let!(:build) { create(:ci_build, :failed, :trace_artifact, pipeline: pipeline) }
it 'displays the failure reason' do
within('.builds-container') do
@ -48,7 +48,7 @@ describe 'User browses a job', :js do
end
context 'when a failed job has been retried' do
let!(:build) { create(:ci_build, :failed, :retried, pipeline: pipeline) }
let!(:build) { create(:ci_build, :failed, :retried, :trace_artifact, pipeline: pipeline) }
it 'displays the failure reason and retried label' do
within('.builds-container') do