Sha256: 5642698b6fbde0c3d560c35a3c040f629b89ee07bea7491a1c3f7857f707f6f4

Contents?: true

Size: 295 Bytes

Versions: 18

Compression:

Stored size: 295 Bytes

Contents

require 'helper'

describe Desk::Client do
  it "should connect using the endpoint configuration" do
    client = Desk::Client.new
    endpoint = URI.parse(client.api_endpoint)
    connection = client.send(:connection).build_url("./").to_s.strip
    connection.should == endpoint.to_s
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
desk-1.2.0 spec/desk/client_spec.rb
desk-1.1.1 spec/desk/client_spec.rb
desk-1.1.0 spec/desk/client_spec.rb
desk-1.0.10 spec/desk/client_spec.rb
desk-1.0.9 spec/desk/client_spec.rb
desk-1.0.8 spec/desk/client_spec.rb
desk-1.0.7 spec/desk/client_spec.rb
desk-1.0.6 spec/desk/client_spec.rb
desk-1.0.5 spec/desk/client_spec.rb
desk-1.0.4 spec/desk/client_spec.rb
desk-1.0.3 spec/desk/client_spec.rb
desk-1.0.2 spec/desk/client_spec.rb
desk-1.0.1 spec/desk/client_spec.rb
desk-1.0.0 spec/desk/client_spec.rb
desk-0.3.3 spec/desk/client_spec.rb
desk-0.3.2 spec/desk/client_spec.rb
desk-0.3.1 spec/desk/client_spec.rb
desk-0.3.0 spec/desk/client_spec.rb