Sha256: 7a10e20e5646e7a193b4ddf9076428cf3225803b792ef556d4434e06c4b4b457

Contents?: true

Size: 788 Bytes

Versions: 1

Compression:

Stored size: 788 Bytes

Contents

require 'spec_helper'

describe MWS::API::FulfillmentInboundShipment 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_inbound_shipment) { MWS::API::FulfillmentInboundShipment.new(connection) }

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

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

  it 'should set the right :version' do
    expect(fulfillment_inbound_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_inbound_shipment_spec.rb