Sha256: bd06a14efba98998c1c022d0e16140bdeda84412f597ad176334d1c3cd8d01c0

Contents?: true

Size: 308 Bytes

Versions: 10

Compression:

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

10 entries across 10 versions & 2 rubygems

Version Path
fullcontact-0.6.1 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.6.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.5.0 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.4.4 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.4.1 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.3.3 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.3.2 spec/ruby_fullcontact/client_spec.rb
fullcontacter-0.3.2 spec/fullcontact/client_spec.rb
fullcontact-0.3.1 spec/ruby_fullcontact/client_spec.rb
fullcontact-0.3.0 spec/ruby_fullcontact/client_spec.rb