Sha256: 9d7cfa1c1ef84c118148a36449b6591e4084f148f0c57309ae5ced65b9ab800d

Contents?: true

Size: 493 Bytes

Versions: 7

Compression:

Stored size: 493 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class Gecko::PurchaseOrderTest < Minitest::Test
  include VCRHelper
  include SharedRecordExamples

  let(:plural_name)   { "purchase_orders" }
  let(:record_class)  { Gecko::Record::PurchaseOrder }

  def setup
    @json   = load_vcr_hash("purchase_orders", "purchase_orders").first
    @record = record_class.new(client, @json)
  end

  def test_initializes_record
    assert_instance_of(Gecko::Record::PurchaseOrder, @record)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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