Sha256: bba9c4b7f2644271855010d4fdcc4a7829463124911df7d685263536d772e316

Contents?: true

Size: 292 Bytes

Versions: 6

Compression:

Stored size: 292 Bytes

Contents

require 'helper'

describe Octokit::Client do

  it "should connect using the endpoint configuration" do
    client = Octokit::Client.new
    endpoint = URI.parse(client.endpoint)
    connection = client.send(:connection).build_url(nil).to_s
    connection.should == endpoint.to_s
  end

end

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
hybridgroup-octokit-0.6.3 spec/octokit/client_spec.rb
hybridgroup-octokit-0.6.2 spec/octokit/client_spec.rb
hybridgroup-octokit-0.6.1 spec/octokit/client_spec.rb
xn-octokit-0.6.1 spec/octokit/client_spec.rb
octokit-0.6.1 spec/octokit/client_spec.rb
octokit-0.6.0 spec/octokit/client_spec.rb