]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/oauth2_test.rb
Fix new rubocop warnings
[rails.git] / test / system / oauth2_test.rb
index ed5ec1532921d0a4ff166f4438292b85f22a40db..0b9213aaa14db1fbc3aef89116ebd4bde52a4b22 100644 (file)
@@ -8,7 +8,7 @@ class Oauth2Test < ApplicationSystemTestCase
     assert_text "OpenStreetMap Web Site"
 
     accept_alert do
-      click_link "Revoke Access"
+      click_on "Revoke Access"
     end
 
     assert_text "You have not yet authorized any OAuth 2 applications."