Sha256: e8ed7faee84dcfcf3b1951ee714ce3ad15b7b8538f716a0714a2cfd8cfef8273

Contents?: true

Size: 298 Bytes

Versions: 30

Compression:

Stored size: 298 Bytes

Contents

require "rails_helper"

module MnoEnterprise
  RSpec.describe InvoicesController, type: :routing do
    routes { MnoEnterprise::Engine.routes }
    
    it "routes to #show" do
      expect(get("/invoices/201504-NU4")).to route_to("mno_enterprise/invoices#show", id: '201504-NU4')
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

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