Sha256: 4149b2240bef228764ffe129dc9206a70a948773cd1ec8e42fa52fe6e3fc0d0e

Contents?: true

Size: 618 Bytes

Versions: 1

Compression:

Stored size: 618 Bytes

Contents

require 'spec_helper'

describe MWS::API::Recommendations do

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

  let(:recommendations) {MWS::API::Recommendations.new(connection)}

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

  it "should set the right :uri" do
    recommendations.uri.should eq("/Recommendations/2013-04-01")
  end

  it "should set the right :version" do
    recommendations.version.should eq("2013-04-01")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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