Sha256: 78f4a896746e3e98aa2051ad6785abcee5637ef9788f1da45cb258813f10f24f

Contents?: true

Size: 242 Bytes

Versions: 9

Compression:

Stored size: 242 Bytes

Contents

require 'spec_helper'

describe Oauth2::TokensController do
  describe 'routing' do
    it 'routes POST /oauth2/token' do
      {:post => '/oauth2/token'}.should route_to(:controller => 'oauth2/tokens', :action => 'create')
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
devise_oauth2_providable-0.3.8 spec/rails_app/spec/routing/tokens_routing_spec.rb
devise_oauth2_providable-0.3.7 spec/rails_app/spec/routing/tokens_routing_spec.rb
devise_oauth2_providable-0.3.6 spec/rails_app/spec/routing/tokens_routing_spec.rb
devise_oauth2_providable-0.3.5 spec/rails_app/spec/routing/tokens_routing_spec.rb
devise_oauth2_providable-0.3.4 spec/rails_app/spec/routing/tokens_routing_spec.rb
devise_oauth2_providable-0.3.3 spec/rails_app/spec/controllers/tokens_controller_spec.rb
devise_oauth2_providable-0.3.2 spec/rails_app/spec/controllers/tokens_controller_spec.rb
devise_oauth2_providable-0.3.1 spec/rails_app/spec/controllers/tokens_controller_spec.rb
devise_oauth2_providable-0.3.0 spec/rails_app/spec/controllers/tokens_controller_spec.rb