Add website oauth app registration to system tests
This commit is contained in:
parent
f73b7205f4
commit
f0b24cdc84
3 changed files with 29 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue