Sha256: 489913bcdc5a879ec21032df8cc3650401a295bcd5fbc939007bc16ab9e57659
Contents?: true
Size: 1.05 KB
Versions: 142
Compression:
Stored size: 1.05 KB
Contents
RSpec.describe "users router", type: :routing do it "should have a new session route" do expect(get: '/users/sign_in').to route_to(controller: 'users/sessions', action: 'new') end it "should have a new session path helper" do expect(get: new_user_session_path).to route_to(controller: 'users/sessions', action: 'new') end it "should have a destroy session route" do expect(get: '/users/sign_out').to route_to(controller: 'users/sessions', action: 'destroy') end it "should have a destroy session path helper" do expect(get: destroy_user_session_path).to route_to(controller: 'users/sessions', action: 'destroy') end it "should have a shibboleth authentication path" do expect(get: '/users/auth/shibboleth').to route_to(controller: 'users/omniauth_callbacks', action: 'passthru', provider: 'shibboleth') end it "should have a shibboleth authentication path helper" do expect(get: user_omniauth_authorize_path(:shibboleth)).to route_to(controller: 'users/omniauth_callbacks', action: 'passthru', provider: 'shibboleth') end end
Version data entries
142 entries across 142 versions & 1 rubygems