require'spec_helper'# oauth_discovery_keys GET /oauth/discovery/keys(.:format) doorkeeper/openid_connect/discovery#keys# oauth_discovery_provider GET /.well-known/openid-configuration(.:format) doorkeeper/openid_connect/discovery#provider# oauth_discovery_webfinger GET /.well-known/webfinger(.:format) doorkeeper/openid_connect/discovery#webfingerdescribeDoorkeeper::OpenidConnect::DiscoveryController,'routing'doit"to #provider"doexpect(get('/.well-known/openid-configuration')).toroute_to('doorkeeper/openid_connect/discovery#provider')endit"to #webfinger"doexpect(get('/.well-known/webfinger')).toroute_to('doorkeeper/openid_connect/discovery#webfinger')endit"to #keys"doexpect(get('/oauth/discovery/keys')).toroute_to('doorkeeper/openid_connect/discovery#keys')endend# oauth_userinfo GET /oauth/userinfo(.:format) doorkeeper/openid_connect/userinfo#show# POST /oauth/userinfo(.:format) doorkeeper/openid_connect/userinfo#showdescribeDoorkeeper::OpenidConnect::UserinfoController,'routing'doit"to #show"doexpect(get('/oauth/userinfo')).toroute_to('doorkeeper/openid_connect/userinfo#show')endit"to #show"doexpect(post('/oauth/userinfo')).toroute_to('doorkeeper/openid_connect/userinfo#show')endend