Sha256: 167b737e80a402e0a31099c6a6fac561e079a2241d7f8b1ebde7272b3af596c7
Contents?: true
Size: 333 Bytes
Versions: 2
Compression:
Stored size: 333 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) describe Thounds::Client do it "should connect using the endpoint configuration" do client = Thounds::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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thounds-0.0.2 | spec/thounds/client_spec.rb |
thounds-0.0.1 | spec/thounds/client_spec.rb |