rainforest 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -3
- data/VERSION +1 -1
- data/lib/rainforest.rb +0 -1
- data/test/rainforest/api_resource_test.rb +1 -1
- data/test/rainforest/auth_test.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89ca53e04f6a8408e23975e96547e4f6384a7c77
|
4
|
+
data.tar.gz: 39ae7d57755230685088dacf2832323c20b0826b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7bdea8027b65c030603d04653222d0ed64b6924baad08833402dd799d0f24e8e653d0bbcababae67829ba90ada9490e4235af830310bc64374b6cfa289a0ad9
|
7
|
+
data.tar.gz: f5fee906889ccd45967de69a0fb89d351b1a34c02756bbdba1922212b589f70427d7cc1b9a240eb696b731b99f478193e991c3ba3c0b8504b62bcdb9c687ffb2
|
data/.gitignore
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.5
|
data/lib/rainforest.rb
CHANGED
@@ -7,7 +7,7 @@ module Rainforest
|
|
7
7
|
should "not raise an exception" do
|
8
8
|
response = test_response({}, 200)
|
9
9
|
@mock.expects(:get).once.returns(response)
|
10
|
-
Rainforest::
|
10
|
+
Rainforest::Run.retrieve("1")
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
@@ -16,7 +16,7 @@ module Rainforest
|
|
16
16
|
response = test_response({error:"Authentication required"}, 401)
|
17
17
|
assert_raises AuthenticationError do
|
18
18
|
@mock.expects(:get).once.raises(RestClient::ExceptionWithResponse.new(response, 401))
|
19
|
-
Rainforest::
|
19
|
+
Rainforest::Run.retrieve("1")
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|