test/fixtures/people.json.yaml in purzelrakete-restful-0.2.8 vs test/fixtures/people.json.yaml in purzelrakete-restful-0.2.9
- old
+ new
@@ -70,11 +70,25 @@
}
hash_with_person:
|
{
- "total_hits": 10,
+ "total_hits": 1,
"a_person": {
"restful_url": "http://example.com:3000/people/<%= @person.to_param %>",
"name": "Joe Bloggs"
}
+ }
+
+hash_with_people:
+ |
+ {
+ "total_hits": 2,
+ "people": [{
+ "restful_url": "http://example.com:3000/people/<%= @person.to_param %>",
+ "name": "Joe Bloggs"
+ },
+ {
+ "restful_url": "http://example.com:3000/people/<%= @person.to_param %>",
+ "name": "Joe Bloggs"
+ }]
}
\ No newline at end of file