]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/oauth2_test.rb
Set search input value to 'lat, lon' params if query param is missing
[rails.git] / test / system / oauth2_test.rb
index ab4964052a00cdd0223299878b6799eb1986bb72..0b9213aaa14db1fbc3aef89116ebd4bde52a4b22 100644 (file)
@@ -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