diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-31 21:22:42 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-31 21:23:25 -0500 |
commit | 9985406a9137dfed1f2e84546d255889165e11ad (patch) | |
tree | e3638a3896e7b7b1c4fd53b9104883d858830428 | |
parent | 91c0eeb65a177ec419d2f79f3d676851483e9347 (diff) | |
download | gitlab-ce-9985406a9137dfed1f2e84546d255889165e11ad.tar.gz |
add accept_confirm around "remove" button
-rw-r--r-- | spec/features/variables_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/variables_spec.rb b/spec/features/variables_spec.rb index 5d8e818f7bf..c78f7d0d9be 100644 --- a/spec/features/variables_spec.rb +++ b/spec/features/variables_spec.rb @@ -82,7 +82,7 @@ describe 'Project variables', :js do it 'deletes variable' do page.within('.variables-table') do - click_on 'Remove' + accept_confirm { click_on 'Remove' } end expect(page).not_to have_selector('variables-table') |