Sha256: 8176733f2b78d1eeba6dc6373208693b11580a77f1b92209bd302a876108b2c6

Contents?: true

Size: 326 Bytes

Versions: 3

Compression:

Stored size: 326 Bytes

Contents

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

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

3 entries across 3 versions & 1 rubygems

Version Path
octokit-0.5.2 spec/octokit/client_spec.rb
octokit-0.5.1 spec/octokit/client_spec.rb
octokit-0.5.0 spec/octokit/client_spec.rb