Sha256: 9130cf74843316fac6e1fe57e5d1c8571379eab25f4de0f98b515c971a0c60cb

Contents?: true

Size: 816 Bytes

Versions: 1

Compression:

Stored size: 816 Bytes

Contents

require 'spec_helper'

describe MWS::API::FulfillmentOutboundShipment do
  let(:connection) do
    MWS::Connection.new(aws_access_key_id: 'access key',
                        aws_secret_access_key: 'secret key',
                        seller_id: 'seller id',
                        mws_auth_token: 'auth token')
  end

  let(:fulfillment_outbound_shipment) { MWS::API::FulfillmentOutboundShipment.new(connection) }

  it 'should inheritance from MWS::API::Base' do
    expect(MWS::API::FulfillmentOutboundShipment.superclass).to eq(MWS::API::Base)
  end

  it 'should set the right :uri' do
    expect(fulfillment_outbound_shipment.uri).to eq('/FulfillmentOutboundShipment/2010-10-01')
  end

  it 'should set the right :version' do
    expect(fulfillment_outbound_shipment.version).to eq('2010-10-01')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mws_rb-0.0.6 spec/mws-rb/api/fulfillment_outbound_shipment_spec.rb