Sha256: 13af05660f1c7a44380a051f3d52403671abc8ad98530e54321f5fec8c36745b

Contents?: true

Size: 454 Bytes

Versions: 7

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

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

  let(:plural_name)   { "contacts" }
  let(:record_class)  { Gecko::Record::Contact }

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

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