Sha256: 0ffa4545d295bf35cf8c0a30868ab871666a5362d4f4a6da99ed7b09b5dbf709

Contents?: true

Size: 397 Bytes

Versions: 30

Compression:

Stored size: 397 Bytes

Contents

require "rails_helper"

module MnoEnterprise
  RSpec.describe ProvisionController, type: :routing do
    routes { MnoEnterprise::Engine.routes }
    
    it "routes to #new" do
      expect(get("/provision/new")).to route_to("mno_enterprise/provision#new")
    end
    
    it 'routes to #create' do
      expect(post("/provision")).to route_to("mno_enterprise/provision#create")
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

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