Sha256: 3219f2d5ce8cfb4a7a0aa54423c015c1ce545af1658189ba9a53222d95b5ac84

Contents?: true

Size: 442 Bytes

Versions: 7

Compression:

Stored size: 442 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

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

  let(:plural_name)   { 'orders' }
  let(:record_class)  { Gecko::Record::Order }

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

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