Sha256: 2e71d3808ef29d725657057ff02dda2b656cef767b361f8a3161f92352362470

Contents?: true

Size: 323 Bytes

Versions: 4

Compression:

Stored size: 323 Bytes

Contents

require 'spec_helper'

describe Devise::Oauth2Providable::TokensController do
  before :all do
    Devise::Oauth2Providable::Engine.load_engine_routes
  end
  describe 'routing' do
    it 'routes POST /oauth2/token' do
      post('/oauth2/token').should route_to('devise/oauth2_providable/tokens#create')
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
devise_oauth2_providable-1.1.1 spec/routing/tokens_routing_spec.rb
devise_oauth2_providable-1.1.0 spec/routing/tokens_routing_spec.rb
devise_oauth2_providable-1.0.5 spec/routing/tokens_routing_spec.rb
devise_oauth2_providable-1.0.4 spec/routing/tokens_routing_spec.rb