Sha256: 3276087222ca83b1d6dd24da5a239eda97ae70e5d74c4fcc62f2e2b2803827a8

Contents?: true

Size: 454 Bytes

Versions: 7

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

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

  let(:plural_name)   { "invoices" }
  let(:record_class)  { Gecko::Record::Invoice }

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

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