diff options
author | Stan Hu <stanhu@gmail.com> | 2017-08-13 09:08:47 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-08-13 09:08:47 +0300 |
commit | 12e6cb71c6ef3fbbad6961eb06ebf6d41e9eb26a (patch) | |
tree | 36837a7a92014b968088c0e10fe903e0c59614e1 /spec/features/projects/pipelines/pipelines_spec.rb | |
parent | b03fe23d536cda3f65965f31c4e3965e66858616 (diff) |
Fix pipelines spec by surrounding click with accept_confirm
Diffstat (limited to 'spec/features/projects/pipelines/pipelines_spec.rb')
-rw-r--r-- | spec/features/projects/pipelines/pipelines_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/pipelines/pipelines_spec.rb b/spec/features/projects/pipelines/pipelines_spec.rb index b6a66a6d0c8..2d5407747af 100644 --- a/spec/features/projects/pipelines/pipelines_spec.rb +++ b/spec/features/projects/pipelines/pipelines_spec.rb @@ -103,7 +103,7 @@ describe 'Pipelines', :js do context 'when canceling' do before do - find('.js-pipelines-cancel-button').click + accept_confirm { find('.js-pipelines-cancel-button').click } wait_for_requests end |