spec/ruby_fullcontact/client_spec.rb in fullcontact-0.2.0 vs spec/ruby_fullcontact/client_spec.rb in fullcontact-0.3.0
- old
+ new
@@ -2,9 +2,9 @@
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 = "#{client.send(:connection).build_url(nil).to_s}/"
connection.should == endpoint.to_s
end
end