1 require "application_system_test_case"
3 class Oauth2Test < ApplicationSystemTestCase
4 def test_authorized_applications
5 sign_in_as(create(:user))
6 visit oauth_authorized_applications_path
8 assert_text "OpenStreetMap Web Site"
11 click_on "Revoke Access"
14 assert_text "You have not yet authorized any OAuth 2 applications."