mini_strava 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mini_strava/client.rb +2 -2
- data/lib/mini_strava/version.rb +1 -1
- data/spec/client_spec.rb +1 -1
- 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: c58a54a619f569d1e533819d5302ec0d51ec3ee5
|
|
4
|
+
data.tar.gz: be9a775892380738db710c16240bbd1fa4c6a238
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c5b4d9acaec79c52161ab3704382d5de1631baa4d01ff923c42413b3b8da69ca52fe459e58e4fba7e6787e35a1b7746b1bac063509f88916064849505b6caae
|
|
7
|
+
data.tar.gz: 8e564ed16e44006145fb1c1b3503fc56f62349823970197f78990de3999ddde17b71ca8b5ce01f18c72ba677b389929ae2a337992792efc7423cb2252786f889
|
data/lib/mini_strava/client.rb
CHANGED
data/lib/mini_strava/version.rb
CHANGED
data/spec/client_spec.rb
CHANGED
|
@@ -30,7 +30,7 @@ module MiniStrava
|
|
|
30
30
|
describe 'perform_request' do
|
|
31
31
|
context 'not found' do
|
|
32
32
|
it 'raises a ResourceNotFound exception' do
|
|
33
|
-
not_found_response = double('response', code: 404)
|
|
33
|
+
not_found_response = double('response', code: '404')
|
|
34
34
|
allow(Net::HTTP).to receive(:start).and_return not_found_response
|
|
35
35
|
expect{ subject.send(:perform_request, nil, URI('http://localhost')) }.to raise_error(Client::ResourceNotFound)
|
|
36
36
|
end
|