X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/12c1d5e6c05813a0697724277b4d8529a1a7c240..98bfaace9aeba7fb387596cc16b2e661506173c6:/test/system/account_deletion_test.rb diff --git a/test/system/account_deletion_test.rb b/test/system/account_deletion_test.rb index 5a55c5838..87e981c64 100644 --- a/test/system/account_deletion_test.rb +++ b/test/system/account_deletion_test.rb @@ -9,9 +9,9 @@ class AccountDeletionTest < ApplicationSystemTestCase test "the status is deleted and the personal data removed" do visit edit_account_path - click_on "Delete Account..." + click_link "Delete Account..." accept_confirm do - click_on "Delete Account" + click_link "Delete Account" end assert_current_path root_path @@ -23,9 +23,9 @@ class AccountDeletionTest < ApplicationSystemTestCase test "the user is signed out after deletion" do visit edit_account_path - click_on "Delete Account..." + click_link "Delete Account..." accept_confirm do - click_on "Delete Account" + click_link "Delete Account" end assert_content "Log In" @@ -34,9 +34,9 @@ class AccountDeletionTest < ApplicationSystemTestCase test "the user is shown a confirmation flash message" do visit edit_account_path - click_on "Delete Account..." + click_link "Delete Account..." accept_confirm do - click_on "Delete Account" + click_link "Delete Account" end assert_content "Account Deleted"