accept confirm dialog when cancelling a pipeline

This commit is contained in:
Mike Greiling 2017-10-10 14:20:51 -05:00
parent 31c8fb987d
commit 9aed01f0e9
No known key found for this signature in database
GPG key ID: 0303DF507FA67596

View file

@ -232,7 +232,7 @@ describe 'Pipelines', :js do
context 'when canceling' do
before do
find('.js-pipelines-cancel-button').click
accept_alert { find('.js-pipelines-cancel-button').click }
end
it 'indicates that pipeline was canceled' do