Sha256: 2be5f02bf4561b6b6ca2c5f0aef564f9658a91ffe1cab2a8708c34a0108454cb

Contents?: true

Size: 596 Bytes

Versions: 4

Compression:

Stored size: 596 Bytes

Contents

require 'test_helper'

class Gecko::Record::OrderLineItemAdapterTest < Minitest::Test
  include TestingAdapter
  include SharedAdapterExamples

  let(:adapter)       { @client.OrderLineItem }
  let(:plural_name)   { 'order_line_items' }
  let(:record_class)  { Gecko::Record::OrderLineItem }

  def test_initializes_adapter
    assert_instance_of(Gecko::Record::OrderLineItemAdapter, @client.OrderLineItem)
  end

  def test_finding_many_order_line_items
    VCR.use_cassette('order_line_items_specific_count') do
      assert_equal(200, adapter.find_many((1..200).to_a).count)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gecko-ruby-0.9.1 test/record/order_line_item_adapter_test.rb
gecko-ruby-0.9.0 test/record/order_line_item_adapter_test.rb
gecko-ruby-0.8.0 test/record/order_line_item_adapter_test.rb
gecko-ruby-0.7.1 test/record/order_line_item_adapter_test.rb