Sha256: d7688dcd702ff9f11d4d216c7b40d4e67cf7e3cd43be974a21bcb30ec9e7317d
Contents?: true
Size: 755 Bytes
Versions: 1
Compression:
Stored size: 755 Bytes
Contents
require 'spec_helper' describe MWS::API::Sellers 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(:sellers) { MWS::API::Sellers.new(connection) } it 'should inheritance from MWS::API::Base' do expect(MWS::API::Sellers.superclass).to eq(MWS::API::Base) end it 'should set the right :uri' do expect(sellers.uri).to eq('/Sellers/2011-07-01') end it 'should set the right :version' do expect(sellers.version).to eq('2011-07-01') end it 'should set the right :version' do expect(sellers.verb).to eq(:post) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mws_rb-0.0.6 | spec/mws-rb/api/sellers_spec.rb |