From 7a090d59a347aa1daf44a20e0fba327bf47b0dce Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Wed, 27 Sep 2017 12:36:05 +0100 Subject: [PATCH] fixed spec/features/admin/admin_groups_spec.rb --- spec/features/admin/admin_groups_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)