Sha256: bebb5c5311d2650a8691a124cfc9783fbbd02274fd4fb8cea4a578d52dab67c3

Contents?: true

Size: 712 Bytes

Versions: 30

Compression:

Stored size: 712 Bytes

Contents

require 'rails_helper'

module MnoEnterprise
  RSpec.describe Devise::PasswordsController, type: :routing do
    routes { MnoEnterprise::Engine.routes }
    
    it 'routes to #new' do
      expect(get('/auth/users/password/new')).to route_to("mno_enterprise/auth/passwords#new")
    end
    
    it 'routes to #edit' do
      expect(get('/auth/users/password/edit')).to route_to("mno_enterprise/auth/passwords#edit")
    end
    
    it 'routes to #update' do
      expect(put('/auth/users/password')).to route_to("mno_enterprise/auth/passwords#update")
    end
    
    it 'routes to #create' do
      expect(post('/auth/users/password')).to route_to("mno_enterprise/auth/passwords#create")
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
mno-enterprise-api-3.4.0 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.3.3 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.3.2 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.2.1 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.3.1 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.3.0 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.2.0 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.1.4 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.0.7 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-2.0.9 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.1.3 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.0.6 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-2.0.8 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.1.2 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.0.5 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-2.0.7 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-2.0.6 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-2.0.5 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.1.1 spec/routing/devise/passwords_routing_spec.rb
mno-enterprise-api-3.0.4 spec/routing/devise/passwords_routing_spec.rb