diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-11 11:37:56 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-11 11:37:56 +0200 |
commit | 11bfc4b29b92a3748423114a0f9576d6b96bc9ff (patch) | |
tree | cc615487bf802155999b41ee6ed9aae44773c29b /spec/features | |
parent | 255f7386f7604a829755e39185f8b62163d854ce (diff) | |
download | gitlab-ce-11bfc4b29b92a3748423114a0f9576d6b96bc9ff.tar.gz |
Fix tests for job empty states for a failed build
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects/jobs_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/jobs_spec.rb b/spec/features/projects/jobs_spec.rb index bba39c9f37f..a460024542c 100644 --- a/spec/features/projects/jobs_spec.rb +++ b/spec/features/projects/jobs_spec.rb @@ -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) |