Sha256: 3dd68eeff479ba9fad78146443354ec4032356535bd656c16e322a3dccd437e7
Contents?: true
Size: 333 Bytes
Versions: 2
Compression:
Stored size: 333 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) describe Smoodit::Client do it "should connect using the endpoint configuration" do client = Smoodit::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 |
---|---|
smoodit-0.0.2 | spec/smoodit/client_spec.rb |
smoodit-0.0.1 | spec/smoodit/client_spec.rb |