Sha256: bfe591091fae03f23ac06b9541a5bc51d8ef1ecfee9009e3f2f4778baf44802c

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

require File.expand_path('../../spec_helper', __FILE__)

describe Sambatech::Client do
  it "should connect using the endpoint configuration" do
    client = Sambatech::Client.new
    endpoint = URI.parse(client.endpoint)
    connection = client.send(:connection).build_url(nil).to_s
    (connection).should == endpoint.to_s.concat("?key=you+need+to+set+a+key")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sambatech-0.0.1 spec/sambatech/client_spec.rb