test/fixtures/people.json.yaml in purzelrakete-restful-0.2.14 vs test/fixtures/people.json.yaml in purzelrakete-restful-0.2.15
- old
+ new
@@ -89,6 +89,19 @@
},
{
"restful_url": "http://example.com:3000/people/<%= @person.to_param %>",
"name": "Joe Bloggs"
}]
+ }
+
+hash_with_rich_person:
+ |
+ {
+ "person": {
+ "restful_url": "http://example.com:3000/people/<%= @person.to_param %>",
+ "name": "Joe Bloggs",
+ "wallet": {
+ "restful_url": "http://example.com:3000/wallets/<%= @person.wallet.to_param %>",
+ "contents": "<%= @person.wallet.contents %>"
+ }
+ }
}
\ No newline at end of file