restify 0.1.2.1.b32 → 0.1.2.1.b33
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 +8 -8
- data/spec/restify_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzRiMjc4OTlkOGVmZTI1NmVlYmE5OTAxMjY3ZDE3MGYyZTc4YzQ4OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTI3NzZhM2VlYjg4YTIxZGVmYTAyN2QwYWVjZTFlZGZkYjIwMDg2NA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2Y3MTdlOTliYzYwYzFiMjkxMjQ5ZWUzMDNkODY5MzVkNjc0N2M5ZjkwZTI2
|
10
|
+
N2E2YTIwYmMxNTI1OGUxZDdhZGVjOWY2ZTg2ZjMzN2VmNzc3MDRhNDJiOWJj
|
11
|
+
MTQzN2E3NjgzYmFmNTRhYjFmNTBmZmUyM2I2OTgyZjVkN2NmMjc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzhhNDcyMzA5MDJmNjcxOGFkZGFhN2I1M2NiNGM1NmI3YWVmYzhkNTY0ZTM5
|
14
|
+
YTI3NjY2NWE4ZWRjNjQyOTM4NzQxNDBjYzViOTkzYTA3NjUyMmE4MTdmNWVk
|
15
|
+
Njg4MTgwNDk5OGZiZGFmMWFkMWVmOWE1OGY5YmE5Yzk0ZmQ1Zjc=
|
data/spec/restify_spec.rb
CHANGED
@@ -148,7 +148,7 @@ describe Restify do
|
|
148
148
|
expect(created_user.code).to eq 201
|
149
149
|
|
150
150
|
expect(created_user).to have_key :name
|
151
|
-
expect(created_user
|
151
|
+
expect(created_user.name).to eq 'John Smith'
|
152
152
|
|
153
153
|
# Let's follow the "Location" header.
|
154
154
|
followed_resource = created_user.follow.value
|
@@ -157,7 +157,7 @@ describe Restify do
|
|
157
157
|
expect(followed_resource.code).to eq 200
|
158
158
|
|
159
159
|
expect(followed_resource).to have_key :name
|
160
|
-
expect(followed_resource
|
160
|
+
expect(followed_resource.name).to eq 'John Smith'
|
161
161
|
|
162
162
|
# Now we will fetch a list of all users.
|
163
163
|
users = users_relation.get.value
|