travis 1.6.15.travis.557.6 → 1.6.15.travis.558.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/spec/client_spec.rb +12 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjY0YjVhNDJjYjA3MDA5MzY4NDY2MTUwODM0MTU1ZGY1YzQ5YzQ2MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGRlNzM4MmQyMjYxNDYzMzA5Y2I2NmJmZjJjMTEzODg3NDdiYjJmYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTFmMmRlM2M0MTM0NjdhMDM3Y2M1N2ZhMTEzNWFlOWMzYTdjNTczZWE0OGIx
|
10
|
+
YTAxMmQwMzZjZGYwNTUyNjQxNGZlYzU5NDhlYThkZWRmNzAzOGJmYTY1Y2Y2
|
11
|
+
YzIzMDJhYzcyMjc0OTQyY2FlOTA5ZDI4MmI5NDA4ZDcwZGM0MTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODNiZmJjNzIyNDM3OTdmZjg3ZTRhMjQwYmNmZWZkY2ViZjcwYWM3OTFkNDEz
|
14
|
+
NDhjMjBlNzhiMGUyMTEzNDNiM2NlNzdlYTdkYjYyZjIwNDU3MGNkOTEyNWY4
|
15
|
+
ZDA1MzQyNjlhNTM0OTFiNzM4YjNkZTE0NTI4ODg1MWY5ODVjMjc=
|
data/spec/client_spec.rb
CHANGED
@@ -2,4 +2,16 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe Travis::Client do
|
4
4
|
its(:new) { should be_a(Travis::Client::Session) }
|
5
|
+
|
6
|
+
it 'accepts string argument' do
|
7
|
+
Travis::Client.new('http://foo/').uri.should be == 'http://foo/'
|
8
|
+
end
|
9
|
+
|
10
|
+
it 'accepts options hash with string keys' do
|
11
|
+
Travis::Client.new('uri' => 'http://foo/').uri.should be == 'http://foo/'
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'accepts options hash with symbol keys' do
|
15
|
+
Travis::Client.new(:uri => 'http://foo/').uri.should be == 'http://foo/'
|
16
|
+
end
|
5
17
|
end
|