Sha256: 1de1ecec5f2d027094959e2eab5ea51ee88bed3d99fb2eef5f711710e967c0ea

Contents?: true

Size: 437 Bytes

Versions: 5

Compression:

Stored size: 437 Bytes

Contents

require 'spec_helper'

describe 'QuickbooksWebConnector routing' do

  routes { QuickbooksWebConnector::Engine.routes }

  it 'defaults to XML for downloading QWC' do
    expect(get: '/qwc').to route_to(controller: 'quickbooks_web_connector/qwc', action: 'download', format: :xml)
  end

  it 'routes the SOAP endpoint' do
    expect(post: '/soap').to route_to(controller: 'quickbooks_web_connector/soap', action: 'endpoint')
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
quickbooks_web_connector-0.5.0 spec/routing/quickbooks_web_connector_spec.rb
quickbooks_web_connector-0.4.0 spec/routing/quickbooks_web_connector_spec.rb
quickbooks_web_connector-0.3.0 spec/routing/quickbooks_web_connector_spec.rb
quickbooks_web_connector-0.2.0 spec/routing/quickbooks_web_connector_spec.rb
quickbooks_web_connector-0.1.0 spec/routing/quickbooks_web_connector_spec.rb