Sha256: 2a89d5dd0e4d3542b6e2d27cdc08d1e0b121f7e18a1523da24ab4a7f9859c599

Contents?: true

Size: 652 Bytes

Versions: 1

Compression:

Stored size: 652 Bytes

Contents

require 'spec_helper'

describe MWS::API::Reports 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(:reports) { MWS::API::Reports.new(connection) }

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

  it 'should set the right :uri' do
    expect(reports.uri).to eq('/')
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mws_rb-0.0.6 spec/mws-rb/api/reports_spec.rb