Sha256: 0ddfed74e81e45e56a915ef4f1b15f394201f178c4c9e467d72248548785eb0f

Contents?: true

Size: 426 Bytes

Versions: 21

Compression:

Stored size: 426 Bytes

Contents

require 'test_helper'

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

  let(:plural_name)   { 'companies' }
  let(:record_class)  { Gecko::Record::Company }

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

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
gecko-ruby-0.0.4 test/record/company_test.rb