summaryrefslogtreecommitdiff
path: root/spec/features/admin/admin_groups_spec.rb
diff options
context:
space:
mode:
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 f5c5a73c042..653a45a4bb8 100644
--- a/spec/features/admin/admin_groups_spec.rb
+++ b/spec/features/admin/admin_groups_spec.rb
@@ -194,7 +194,7 @@ RSpec.describe 'Admin Groups' do
expect(page).to have_content('Developer')
end
- accept_confirm { 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-danger').click }
visit group_group_members_path(group)