Sha256: 89d411527572281a0b1d39068f4aba648400b768fd3ad6f2ad278584d9fba14d

Contents?: true

Size: 513 Bytes

Versions: 7

Compression:

Stored size: 513 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

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

  let(:adapter)       { @client.InvoiceLineItem }
  let(:plural_name)   { "invoice_line_items" }
  let(:record_class)  { Gecko::Record::InvoiceLineItem }

  def test_initializes_adapter
    assert_instance_of(Gecko::Record::InvoiceLineItemAdapter, @client.InvoiceLineItem)
  end

private

  def random_attribute
    :quantity
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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