Sha256: d25b5e72219350f0a0bc6c1db052160fecd7102a8f5cf401da2bbf9de66d5b5e

Contents?: true

Size: 342 Bytes

Versions: 15

Compression:

Stored size: 342 Bytes

Contents

# encoding: utf-8
require 'spec_helper'
require 'contact-data'

describe ContactData::Contact do
  let(:name) { 'Derek Jones III' }

  it 'searches for a contact by name' do
    VCR.use_cassette('name_search') do
      expect { ContactData::Contact.search(name, verbose: true) }.to raise_error(RestClient::ResourceNotFound)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
contact-data-0.2.1 spec/contact-data_contact_spec.rb
contact-data-0.2.0 spec/contact-data_contact_spec.rb
contact-data-0.1.0 spec/contact-data_contact_spec.rb
contact-data-0.0.20 spec/contact-data_contact_spec.rb
contact-data-0.0.19 spec/contact-data_contact_spec.rb
contact-data-0.0.18 spec/contact-data_contact_spec.rb
contact-data-0.0.17 spec/contact-data_contact_spec.rb
contact-data-0.0.16 spec/contact-data_contact_spec.rb
contact-data-0.0.15 spec/contact-data_contact_spec.rb
contact-data-0.0.14 spec/contact-data_contact_spec.rb
contact-data-0.0.13 spec/contact-data_contact_spec.rb
contact-data-0.0.12 spec/contact-data_contact_spec.rb
contact-data-0.0.11 spec/contact-data_contact_spec.rb
contact-data-0.0.10 spec/contact-data_contact_spec.rb
contact-data-0.0.9 spec/contact-data_contact_spec.rb