Sha256: 4169881728ebc31c64316f8c0dc55b578867ac2ea8e8d06f2e42826b452e5468
Contents?: true
Size: 643 Bytes
Versions: 1
Compression:
Stored size: 643 Bytes
Contents
require 'spec_helper' describe MWS::API::Sellers do let(:connection) {MWS::Connection.new({ aws_access_key_id: "access key", aws_secret_access_key: "secret key", seller_id: "seller id" })} let(:sellers) {MWS::API::Sellers.new(connection)} it "should inheritance from MWS::API::Base" do MWS::API::Sellers.superclass.should eq(MWS::API::Base) end it "should set the right :uri" do sellers.uri.should eq("/Sellers/2011-07-01") end it "should set the right :version" do sellers.version.should eq("2011-07-01") end it "should set the right :version" do sellers.verb.should eq(:post) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mws-rb-0.0.1 | spec/mws-rb/api/sellers_spec.rb |