Sha256: 7f8cf4afebf44f87d48131e226c37f12dc41562b9e5d60d42acacc943fc79936

Contents?: true

Size: 679 Bytes

Versions: 1

Compression:

Stored size: 679 Bytes

Contents

require 'spec_helper'

describe MWS::API::FulfillmentInboundShipment do
  let(:connection) {MWS::Connection.new({
    aws_access_key_id: "access key",
    aws_secret_access_key: "secret key",
    seller_id: "seller id"
  })}

  let(:fulfillment_inbound_shipment) {MWS::API::FulfillmentInboundShipment.new(connection)}

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

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

  it "should set the right :version" do
    fulfillment_inbound_shipment.version.should eq("2010-10-01")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mws-rb-0.0.1 spec/mws-rb/api/fulfillment_inbound_shipment_spec.rb