Sha256: c8c896aab2dbbbff71ed5babce555db7a8335afef82d42098a2dbc00338c659a

Contents?: true

Size: 540 Bytes

Versions: 5

Compression:

Stored size: 540 Bytes

Contents

require 'spec_helper'

module Vacuum
  module Request
    describe MWS do
      let(:request) do
        described_class.new do |config|
          config.key = 'key'
          config.marketplace = 'marketplace'
          config.secret = 'secret'
          config.seller = 'seller'
        end
      end

      context 'when API type is set to Products' do
        before do
          request.configure do |config|
            config.api = :products
          end
        end

        it_behaves_like 'a request'
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vacuum-0.2.2 spec/vacuum/request/mws_spec.rb
vacuum-0.2.1 spec/vacuum/request/mws_spec.rb
vacuum-0.2.0 spec/vacuum/request/mws_spec.rb
vacuum-0.2.0.pre.1 spec/vacuum/request/mws_spec.rb
vacuum-0.2.0.pre spec/vacuum/request/mws_spec.rb