Improve pending case test

This commit is contained in:
Filipa Lacerda 2018-01-22 16:08:39 +00:00
parent 63b93664c7
commit 4b8004c712
No known key found for this signature in database
GPG Key ID: 9CA3FDE4D1E2F1C8
1 changed files with 2 additions and 2 deletions

View File

@ -415,8 +415,8 @@ feature 'Jobs' do
end
it 'shows pending empty state' do
expect(page).not_to have_content('This job has not been triggered yet')
expect(page).not_to have_content('This job depends on upstream jobs that need to succeed in order for this job to be triggered')
expect(page).to have_content('This job has not started yet')
expect(page).to have_content('This job is in pending state and is waiting to be picked by the runner')
end
end
end