Sha256: 08443f9b32e159cb31dccc1c4999a659e5fc02d15aa17e0a45d308b551776192
Contents?: true
Size: 700 Bytes
Versions: 2
Compression:
Stored size: 700 Bytes
Contents
require 'spec_helper' describe 'oauth routing', type: :routing do routes { BookingSync::Engine.routes } it 'has a auth callback route' do expect(get: '/auth/facebook/callback').to route_to(controller: 'sessions', action: 'create', provider: 'facebook') end it 'has a auth failure route' do expect(get: '/auth/failure').to route_to(controller: 'sessions', action: 'failure') end it 'has a signout route' do expect(get: '/signout').to route_to(controller: 'sessions', action: 'destroy') end it 'has a signout named route', :inject_locale_to_routes do expect(get: signout_path).to route_to(controller: 'sessions', action: 'destroy') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bookingsync-engine-0.4.3 | spec/routing/oauth_routing_spec.rb |
bookingsync-engine-0.3.0 | spec/routing/oauth_routing_spec.rb |