Sha256: 3569602d57eed3cffff479ecc4231274238a4bbb05db80197794f96ba3bbde05

Contents?: true

Size: 452 Bytes

Versions: 23

Compression:

Stored size: 452 Bytes

Contents

require 'rails_helper'

module MnoEnterprise
  RSpec.describe Jpi::V1::MarketplaceController, type: :routing do
    routes { MnoEnterprise::Engine.routes }
    
    it 'routes to #index' do
      expect(get('/jpi/v1/marketplace')).to route_to("mno_enterprise/jpi/v1/marketplace#index")
    end
    
    it 'routes to #show' do
      expect(get('/jpi/v1/marketplace/1')).to route_to("mno_enterprise/jpi/v1/marketplace#show", id: '1')
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
mno-enterprise-api-3.1.4 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-3.0.7 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-2.0.9 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-3.1.3 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-3.0.6 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-2.0.8 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-3.1.2 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-3.0.5 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-2.0.7 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-2.0.6 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-2.0.5 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-3.1.1 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-3.0.4 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-2.0.4 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-3.1.0 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-3.0.3 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-2.0.3 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-3.0.2 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-2.0.2 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb
mno-enterprise-api-3.0.1 spec/routing/mno_enterprise/jpi/v1/marketplace_controller_routing_spec.rb