Sha256: 2abfc07621b3a2b075abff6abed0abe7de1d9749cfb3759ac79d9ea466fe8eeb

Contents?: true

Size: 648 Bytes

Versions: 13

Compression:

Stored size: 648 Bytes

Contents

require 'spec_helper'

describe Devise::Oauth2::AuthorizationsController do
  describe 'routing' do
    pending 'routes POST /oauth2/authorizations' do
      post('/oauth2/authorizations').should route_to('devise/oauth2_providable/authorizations#create')
    end
    pending 'routes GET /oauth2/authorize' do
      get('/oauth2/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

13 entries across 13 versions & 1 rubygems

Version Path
devise_oauth2_rails4-2.1.4 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-2.1.3 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-2.0.3 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-2.1.0 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-2.0.2 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-2.0.1 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-2.0.0 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-1.1.8 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-1.1.7 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-1.1.6 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-1.1.5 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-1.1.4 spec/routing/authorizations_routing_spec.rb
devise_oauth2_rails4-1.1.3 spec/routing/authorizations_routing_spec.rb