Sha256: a879aa8f83943c14d04431ef159ad75617aa7fb9f45c4bd1521359cdb3f760a4

Contents?: true

Size: 655 Bytes

Versions: 1

Compression:

Stored size: 655 Bytes

Contents

require 'spec_helper'

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

  let(:fulfillment_inventory) {MWS::API::FulfillmentInventory.new(connection)}

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

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

  it "should set the right :version" do
    fulfillment_inventory.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_inventory_spec.rb