summaryrefslogtreecommitdiff
path: root/spec/features/admin/admin_groups_spec.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-27 12:36:05 +0100
committerPhil Hughes <me@iamphill.com>2017-09-27 12:36:05 +0100
commit7a090d59a347aa1daf44a20e0fba327bf47b0dce (patch)
tree888f885b162223ef118ae02d419e9e2adba5b1cd /spec/features/admin/admin_groups_spec.rb
parent9d48177c8e43a338e72d07d1fd92805f8e3313b4 (diff)
downloadgitlab-ce-7a090d59a347aa1daf44a20e0fba327bf47b0dce.tar.gz
fixed spec/features/admin/admin_groups_spec.rb
Diffstat (limited to 'spec/features/admin/admin_groups_spec.rb')
-rw-r--r--spec/features/admin/admin_groups_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/admin/admin_groups_spec.rb b/spec/features/admin/admin_groups_spec.rb
index 3768727d8ae..cddd8d2a166 100644
--- a/spec/features/admin/admin_groups_spec.rb
+++ b/spec/features/admin/admin_groups_spec.rb
@@ -152,7 +152,7 @@ feature 'Admin Groups' do
expect(page).to have_content('Developer')
end
- find(:css, 'li', text: current_user.name).find(:css, 'a.btn-remove').click
+ accept_confirm { find(:css, 'li', text: current_user.name).find(:css, 'a.btn-remove').click }
visit group_group_members_path(group)