X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/67190393581af29dc2708f20446ccce1d6b081f6..039b3e1c3226689e72ad4c15e80c2f35b91b87f0:/test/system/oauth2_test.rb?ds=sidebyside diff --git a/test/system/oauth2_test.rb b/test/system/oauth2_test.rb index ab4964052..0b9213aaa 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_on "Revoke Access" + end + assert_text "You have not yet authorized any OAuth 2 applications." end end