Sha256: 01acdfbcd30adde7eb382e9e71bfeb011f50bb772e088860c5c51396c020bbba

Contents?: true

Size: 531 Bytes

Versions: 1

Compression:

Stored size: 531 Bytes

Contents

require 'spec_helper'

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

  let(:feeds) {MWS::API::Feeds.new(connection)}

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

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

  it "should set the right :version" do
    feeds.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/feeds_spec.rb