X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fc091ff2b8e526c4e162489db8ac1b0f0e5a8118..48214c6441725a61a8eae6c14d164362ff48b3a3:/test/system/oauth2_test.rb diff --git a/test/system/oauth2_test.rb b/test/system/oauth2_test.rb index ab4964052..ed5ec1532 100644 --- a/test/system/oauth2_test.rb +++ b/test/system/oauth2_test.rb @@ -5,6 +5,12 @@ class Oauth2Test < ApplicationSystemTestCase sign_in_as(create(:user)) visit oauth_authorized_applications_path + assert_text "OpenStreetMap Web Site" + + accept_alert do + click_link "Revoke Access" + end + assert_text "You have not yet authorized any OAuth 2 applications." end end