Sha256: ac6f83f6d88c9b48171289cf071c1586b14dc8d3041d82be2aa915506840b9a2

Contents?: true

Size: 474 Bytes

Versions: 20

Compression:

Stored size: 474 Bytes

Contents

require 'rails_helper'

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

    it 'routes to #save' do
      expect(post('/jpi/v1/admin/theme/save')).to route_to('mno_enterprise/jpi/v1/admin/theme#save', format: "json")
    end

    it 'routes to #logo' do
      expect(put('/jpi/v1/admin/theme/logo')).to route_to('mno_enterprise/jpi/v1/admin/theme#logo', format: "json")
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
mno-enterprise-api-3.4.0 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.3.3 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.3.2 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.2.1 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.3.1 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.3.0 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.2.0 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.1.4 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.0.7 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.1.3 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.0.6 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.1.2 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.0.5 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.1.1 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.0.4 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.1.0 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.0.3 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.0.2 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.0.1 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb
mno-enterprise-api-3.0.0 spec/routing/mno_enterprise/jpi/v1/admin/theme_controller_routing_spec.rb