Sha256: 5eadcd8ac7072922aeb6b869d41a8eaec6ea143603b503e2538c4e762a8d1f28

Contents?: true

Size: 482 Bytes

Versions: 244

Compression:

Stored size: 482 Bytes

Contents

require 'spec_helper'

describe Travis::Client do
  its(:new) { should be_a(Travis::Client::Session) }

  it 'accepts string argument' do
    Travis::Client.new('http://foo/').uri.should be == 'http://foo/'
  end

  it 'accepts options hash with string keys' do
    Travis::Client.new('uri' => 'http://foo/').uri.should be == 'http://foo/'
  end

  it 'accepts options hash with symbol keys' do
    Travis::Client.new(:uri => 'http://foo/').uri.should be == 'http://foo/'
  end
end

Version data entries

244 entries across 244 versions & 3 rubygems

Version Path
travis-1.8.9.travis.874.3 spec/client_spec.rb
travis-1.8.9.travis.867.4 spec/client_spec.rb
travis-1.8.9.travis.853.4 spec/client_spec.rb
travis-1.8.9.travis.844.4 spec/client_spec.rb
travis-1.8.9.travis.837.4 spec/client_spec.rb
travis-1.8.8 spec/client_spec.rb
travis-1.8.9.travis.826.4 spec/client_spec.rb
travis-1.8.7.travis.823.4 spec/client_spec.rb
travis-1.8.7.travis.818.4 spec/client_spec.rb
travis-1.8.7.travis.812.4 spec/client_spec.rb
travis-1.8.6 spec/client_spec.rb
travis-1.8.7.travis.809.4 spec/client_spec.rb
travis-1.8.7.travis.808.4 spec/client_spec.rb
travis-1.8.6.travis.807.4 spec/client_spec.rb
travis-1.8.5 spec/client_spec.rb
travis-1.8.6.travis.796.4 spec/client_spec.rb
travis-1.8.5.travis.793.4 spec/client_spec.rb
travis-1.8.5.travis.791.4 spec/client_spec.rb
travis-1.8.5.travis.784.4 spec/client_spec.rb
travis-1.8.5.travis.783.4 spec/client_spec.rb