Sha256: 5a57d88b1271c8eb19ae8b39ac571423d2fddfecf3c072ff8b19f769aef99cd1
Contents?: true
Size: 1.15 KB
Versions: 18
Compression:
Stored size: 1.15 KB
Contents
require 'spec_helper_integration' describe 'Default routes' do it 'GET /oauth/authorize routes to authorizations controller' do get('/oauth/authorize').should route_to('doorkeeper/authorizations#new') end it 'POST /oauth/authorize routes to authorizations controller' do post('/oauth/authorize').should route_to('doorkeeper/authorizations#create') end it 'DELETE /oauth/authorize routes to authorizations controller' do delete('/oauth/authorize').should route_to('doorkeeper/authorizations#destroy') end it 'POST /oauth/token routes to tokens controller' do post('/oauth/token').should route_to('doorkeeper/tokens#create') end it 'GET /oauth/applications routes to applications controller' do get('/oauth/applications').should route_to('doorkeeper/applications#index') end it 'GET /oauth/authorized_applications routes to authorized applications controller' do get('/oauth/authorized_applications').should route_to('doorkeeper/authorized_applications#index') end it 'GET /oauth/token/info route to authorzed tokeninfo controller' do get('/oauth/token/info').should route_to('doorkeeper/token_info#show') end end
Version data entries
18 entries across 18 versions & 1 rubygems