Sha256: ae723e9f03a810fae88c8df57e022c0d8edc174e135f131ed375860403233188

Contents?: true

Size: 370 Bytes

Versions: 12

Compression:

Stored size: 370 Bytes

Contents

require 'rails_helper'

module MnoEnterprise
  RSpec.describe Jpi::V1::Admin::InvitesController do
    routes { MnoEnterprise::Engine.routes }

    it 'routes to #create' do
      expect(post('/jpi/v1/admin/organizations/1/users/2/invites')).to route_to('mno_enterprise/jpi/v1/admin/invites#create', organization_id: '1', user_id: '2', format: 'json')
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mno-enterprise-api-3.4.0 spec/routing/mno_enterprise/jpi/v1/admin/invites_controller_routing_spec.rb
mno-enterprise-api-3.3.3 spec/routing/mno_enterprise/jpi/v1/admin/invites_controller_routing_spec.rb
mno-enterprise-api-3.3.2 spec/routing/mno_enterprise/jpi/v1/admin/invites_controller_routing_spec.rb
mno-enterprise-api-3.2.1 spec/routing/mno_enterprise/jpi/v1/admin/invites_controller_routing_spec.rb
mno-enterprise-api-3.3.1 spec/routing/mno_enterprise/jpi/v1/admin/invites_controller_routing_spec.rb
mno-enterprise-api-3.3.0 spec/routing/mno_enterprise/jpi/v1/admin/invites_controller_routing_spec.rb
mno-enterprise-api-3.2.0 spec/routing/mno_enterprise/jpi/v1/admin/invites_controller_routing_spec.rb
mno-enterprise-api-3.1.4 spec/routing/mno_enterprise/jpi/v1/admin/invites_controller_routing_spec.rb
mno-enterprise-api-3.1.3 spec/routing/mno_enterprise/jpi/v1/admin/invites_controller_routing_spec.rb
mno-enterprise-api-3.1.2 spec/routing/mno_enterprise/jpi/v1/admin/invites_controller_routing_spec.rb
mno-enterprise-api-3.1.1 spec/routing/mno_enterprise/jpi/v1/admin/invites_controller_routing_spec.rb
mno-enterprise-api-3.1.0 spec/routing/mno_enterprise/jpi/v1/admin/invites_controller_routing_spec.rb