Sha256: e49f07d042996db14eb0364a48f293d6db913f7619ae36566de1d84f1cb2b068
Contents?: true
Size: 671 Bytes
Versions: 30
Compression:
Stored size: 671 Bytes
Contents
require 'rails_helper' module MnoEnterprise RSpec.describe Devise::ConfirmationsController, type: :routing do routes { MnoEnterprise::Engine.routes } it 'routes to #show' do expect(get('/auth/users/confirmation?confirmation_token=bla')).to route_to("mno_enterprise/auth/confirmations#show", confirmation_token: 'bla') end it 'routes to #finalize' do expect(patch('/auth/users/confirmation/finalize')).to route_to("mno_enterprise/auth/confirmations#finalize") end it 'routes to #lounge' do expect(get('/auth/users/confirmation/lounge')).to route_to("mno_enterprise/auth/confirmations#lounge") end end end
Version data entries
30 entries across 30 versions & 1 rubygems