accept javascript confirm when testing pipeline deletion

This commit is contained in:
Mike Greiling 2017-10-09 23:13:57 -05:00
parent 73bb0029a3
commit 56025c7e6b
No known key found for this signature in database
GPG Key ID: 0303DF507FA67596
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ feature 'Pipeline Schedules', :js do
end
it 'deletes the pipeline' do
click_link 'Delete'
accept_confirm { click_link 'Delete' }
expect(page).not_to have_css(".pipeline-schedule-table-row")
end