Commit 9d48177c authored by Phil Hughes's avatar Phil Hughes

fixed spec/features/admin/admin_users_spec.rb

parent 92a3887c
......@@ -290,7 +290,7 @@ describe "Admin::Users" do
it 'allows group membership to be revoked', js: true do
page.within(first('.group_member')) do
find('.btn-remove').click
accept_confirm { find('.btn-remove').click }
end
wait_for_requests
......@@ -319,7 +319,7 @@ describe "Admin::Users" do
expect(page).to have_content("Secondary email: #{secondary_email.email}")
find("#remove_email_#{secondary_email.id}").click
accept_confirm { find("#remove_email_#{secondary_email.id}").click }
expect(page).not_to have_content(secondary_email.email)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment