Sha256: 448bf366fc8786c23ad22dc3e11b3687ed78fa48aa8a0d7f9a2f09bc704c48ff

Contents?: true

Size: 382 Bytes

Versions: 4

Compression:

Stored size: 382 Bytes

Contents

require 'spec_helper'

describe Carousel::Inventory do

  let(:client)  { Carousel::Client.new("the_username", "the_password") }
  let(:inventory_request) { Carousel::Inventory.new(client) }

  describe '#build_inventory_request' do
    it 'constructs xml for the user' do
      expect(inventory_request.build_inventory_request).to eq(read_xml(:inventory_request))
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
carousel-ruby-api-0.0.6 spec/lib/inventory_spec.rb
carousel-ruby-api-0.0.5 spec/lib/inventory_spec.rb
carousel-ruby-api-0.0.4 spec/lib/inventory_spec.rb
carousel-ruby-api-0.0.3 spec/lib/inventory_spec.rb