Sha256: 90c29555d8f4740465ea29fb1cc5657d2d4fba1cf4ea23f60c3cda0e061712ec
Contents?: true
Size: 526 Bytes
Versions: 30
Compression:
Stored size: 526 Bytes
Contents
require 'rails_helper' module MnoEnterprise RSpec.describe Jpi::V1::Admin::TenantInvoicesController, type: :routing do routes { MnoEnterprise::Engine.routes } it 'routes to #index' do expect(get('/jpi/v1/admin/tenant_invoices')).to route_to("mno_enterprise/jpi/v1/admin/tenant_invoices#index", format: "json") end it 'routes to #show' do expect(get('/jpi/v1/admin/tenant_invoices/1')).to route_to("mno_enterprise/jpi/v1/admin/tenant_invoices#show", format: "json", id: '1') end end end
Version data entries
30 entries across 30 versions & 1 rubygems