Sha256: 45cc1298e0e2e2473284d1f62ca21b8d66d465208eeb46b4ccf662fd79011b6a

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 Bytes

Contents

require 'spec_helper'

describe MWS::API::Reports do

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

  let(:reports) {MWS::API::Reports.new(connection)}

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

  it "should set the right :uri" do
    reports.uri.should eq("/")
  end

  it "should set the right :version" do
    reports.version.should eq("2009-01-01")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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