Sha256: 3b2a1f8c60bf328b1d118c203c61e36efad54f513062248c9192016053eb26d1
Contents?: true
Size: 569 Bytes
Versions: 30
Compression:
Stored size: 569 Bytes
Contents
require 'rails_helper' module MnoEnterprise RSpec.describe Devise::SessionsController, type: :routing do routes { MnoEnterprise::Engine.routes } it 'routes to #new' do expect(get('/auth/users/sign_in')).to route_to("mno_enterprise/auth/sessions#new") end it 'routes to #create' do expect(post('/auth/users/sign_in')).to route_to("mno_enterprise/auth/sessions#create") end it 'routes to #destroy' do expect(delete('/auth/users/sign_out')).to route_to("mno_enterprise/auth/sessions#destroy") end end end
Version data entries
30 entries across 30 versions & 1 rubygems