Sha256: fa82e9f5f5fe3de2ecc2b251971b4dea7ed3d2041ec04ba6932451a9a4f95dde

Contents?: true

Size: 307 Bytes

Versions: 13

Compression:

Stored size: 307 Bytes

Contents

require 'helper'

describe FullContact::Client do
  it "should connect using the endpoint configuration" do
    client = FullContact::Client.new
    endpoint = URI.parse(client.api_endpoint)
    connection = "#{client.send(:connection).build_url(nil).to_s}"
    connection.should == endpoint.to_s
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
fullcontact-api-ruby-0.1.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.18.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.17.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.16.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.15.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.14.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.13.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.12.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.11.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.10.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.9.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.8.2 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.7.0 spec/ruby_fullcontact/client_spec.rb