summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-10-24 17:55:30 +0300
committerMike Greiling <mike@pixelcog.com>2017-10-24 17:55:30 +0300
commit03fbdde7cd6fbd07027a14b676ca580f831ed015 (patch)
treeffca4952ee6bcb79d8c3b22b1649896f73ddeb3b
parent34f7e825635ed8ce963a4b587ae37a6e7c0696e3 (diff)
downloadgitlab-ce-03fbdde7cd6fbd07027a14b676ca580f831ed015.tar.gz
add accept_confirm around "delete tag" button
-rw-r--r--spec/features/tags/master_deletes_tag_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/tags/master_deletes_tag_spec.rb b/spec/features/tags/master_deletes_tag_spec.rb
index f5b3774122b..dfda664d673 100644
--- a/spec/features/tags/master_deletes_tag_spec.rb
+++ b/spec/features/tags/master_deletes_tag_spec.rb
@@ -64,7 +64,7 @@ feature 'Master deletes tag' do
def delete_first_tag
page.within('.content') do
- first('.btn-remove').click
+ accept_confirm { first('.btn-remove').click }
end
end
end