tommymessbauer/hammock — pull request #10 by Raynos (2014-08-18 11:34:06+00:00)
Title: Support request style options.json

This will make writing tests easier and get close to the `request` interface

```js
MockRequest({
method: 'POST',
url: '/foo',
json: { 'status': 42 }
})
```

instead of

```js
var req = MockRequest({
method: 'POST',
url: '/foo'
})

...

req.end(JSON.stringify({ status: '42' }))
```