Sha256: 80e0608efa3686f00f938728f7ba44f57fa4aad782dbaaa6f49f62313e16bbfa

Contents?: true

Size: 454 Bytes

Versions: 7

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

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

  let(:plural_name)   { 'products' }
  let(:record_class)  { Gecko::Record::Product }

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

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