diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-04-06 16:47:50 +0200 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-04-06 16:47:50 +0200 |
commit | 6d0c9c9403483a274dfe55094123a99a1937bbff (patch) | |
tree | 5bd97c07d757d98dbacdffeb90e16f1902f8279e /spec | |
parent | 2bf8345542dbdae17c3755ca7157cbaf70ffde41 (diff) | |
download | gitlab-ce-6d0c9c9403483a274dfe55094123a99a1937bbff.tar.gz |
Add missing trace artifacts to jobs in spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/projects/jobs/user_browses_job_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/jobs/user_browses_job_spec.rb b/spec/features/projects/jobs/user_browses_job_spec.rb index 3c8b28e8408..bff5bbe99af 100644 --- a/spec/features/projects/jobs/user_browses_job_spec.rb +++ b/spec/features/projects/jobs/user_browses_job_spec.rb @@ -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 |