diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-10 01:07:56 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-10 01:07:56 +0300 |
commit | 98b1b3fb87eb3f0f8bd16667266b591e79933ac2 (patch) | |
tree | 1541c6bc065e622d2983e24ebd4e2c47006f6ab2 /spec/features/boards | |
parent | 7e7baf7aab59f65dade40b6ad3c99231c1b1a4d9 (diff) |
ensure javascript confirm dialog is accepted when attempting to delete boards
Diffstat (limited to 'spec/features/boards')
-rw-r--r-- | spec/features/boards/boards_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/boards/boards_spec.rb b/spec/features/boards/boards_spec.rb index 1311347a530..9c6c5d3739c 100644 --- a/spec/features/boards/boards_spec.rb +++ b/spec/features/boards/boards_spec.rb @@ -136,7 +136,7 @@ describe 'Issue Boards', :js do it 'allows user to delete board' do page.within(find('.board:nth-child(2)')) do - find('.board-delete').click + accept_confirm { find('.board-delete').click } end wait_for_requests @@ -151,7 +151,7 @@ describe 'Issue Boards', :js do find('.dropdown-menu-close').click page.within(find('.board:nth-child(2)')) do - find('.board-delete').click + accept_confirm { find('.board-delete').click } end wait_for_requests |