Sha256: 77fc5cd5f178a95c2a2dd67d2fdbb711e645bc5454c3251a6939ee66e0fc12be

Contents?: true

Size: 644 Bytes

Versions: 4

Compression:

Stored size: 644 Bytes

Contents

require 'spec_helper'

describe Devise::Oauth2::AuthorizationsController do
  describe 'routing' do
    pending 'routes POST /oauth/authorizations' do
      post('/oauth/authorizations').should route_to('devise/oauth2_providable/authorizations#create')
    end
    pending 'routes GET /oauth/authorize' do
      get('/oauth/authorize').should route_to('devise/oauth2_providable/authorizations#new')
    end
    pending 'routes POST /oauth2/authorize' do
      #FIXME: this is valid, but the route is not being loaded into the test
      post('/oauth2/authorize').should route_to('devise/oauth2_providable/authorizations#new')
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
devise_oauth2_rails4-2.1.8 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-2.1.7 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-2.1.6 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-2.1.5 spec/routing/authorizations_routing_spec.rb