Commit 9985406a authored by Mike Greiling's avatar Mike Greiling

add accept_confirm around "remove" button

parent 91c0eeb6
...@@ -82,7 +82,7 @@ describe 'Project variables', :js do ...@@ -82,7 +82,7 @@ describe 'Project variables', :js do
it 'deletes variable' do it 'deletes variable' do
page.within('.variables-table') do page.within('.variables-table') do
click_on 'Remove' accept_confirm { click_on 'Remove' }
end end
expect(page).not_to have_selector('variables-table') expect(page).not_to have_selector('variables-table')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment