Sha256: b8a788936ecc909700ca5ed1564f8833240e42be5c26c3e03fafc258018e7859

Contents?: true

Size: 764 Bytes

Versions: 1

Compression:

Stored size: 764 Bytes

Contents

require 'spec_helper'

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

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

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

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