Sha256: 8b29f4de4991ed24f1199cb4b1a5976ee30ee7d1bdddf45cef1efb342c7173c5

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 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

3 entries across 3 versions & 1 rubygems

Version Path
fullcontact-0.2.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.1.4 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.1.3 spec/ruby_fullcontact/client_spec.rb