Sha256: 1973d50aba4e9e358ce7eb8cb0d6061021f7e0e5d61d42a5b17146f0c36668df

Contents?: true

Size: 482 Bytes

Versions: 7

Compression:

Stored size: 482 Bytes

Contents

require 'rails_helper'

module MnoEnterprise
  RSpec.describe Jpi::V1::AppReviewsController, type: :routing do
    routes { MnoEnterprise::Engine.routes }

    it 'routes to #index' do
      expect(get('/jpi/v1/marketplace/1/app_reviews')).to route_to("mno_enterprise/jpi/v1/app_reviews#index", id: '1')
    end
    it 'routes to #create' do
      expect(post('/jpi/v1/marketplace/1/app_reviews')).to route_to("mno_enterprise/jpi/v1/app_reviews#create", id: '1')
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mno-enterprise-api-3.4.0 spec/routing/mno_enterprise/jpi/v1/app_reviews_controller_routing_spec.rb
mno-enterprise-api-3.3.3 spec/routing/mno_enterprise/jpi/v1/app_reviews_controller_routing_spec.rb
mno-enterprise-api-3.3.2 spec/routing/mno_enterprise/jpi/v1/app_reviews_controller_routing_spec.rb
mno-enterprise-api-3.2.1 spec/routing/mno_enterprise/jpi/v1/app_reviews_controller_routing_spec.rb
mno-enterprise-api-3.3.1 spec/routing/mno_enterprise/jpi/v1/app_reviews_controller_routing_spec.rb
mno-enterprise-api-3.3.0 spec/routing/mno_enterprise/jpi/v1/app_reviews_controller_routing_spec.rb
mno-enterprise-api-3.2.0 spec/routing/mno_enterprise/jpi/v1/app_reviews_controller_routing_spec.rb