Sha256: 2a04ead5dc6ff3cde9ef7c74e89911c8f6251875b8fb005519831d5d2efc4171

Contents?: true

Size: 627 Bytes

Versions: 7

Compression:

Stored size: 627 Bytes

Contents

# frozen_string_literal: true

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

7 entries across 7 versions & 1 rubygems

Version Path
gecko-ruby-0.12.3 test/record/order_line_item_adapter_test.rb
gecko-ruby-0.12.2 test/record/order_line_item_adapter_test.rb
gecko-ruby-0.12.1 test/record/order_line_item_adapter_test.rb
gecko-ruby-0.12.0 test/record/order_line_item_adapter_test.rb
gecko-ruby-0.11.1 test/record/order_line_item_adapter_test.rb
gecko-ruby-0.11.0 test/record/order_line_item_adapter_test.rb
gecko-ruby-0.10.0 test/record/order_line_item_adapter_test.rb