Skip to content

Commit

Permalink
Merge 85ac374 into 563fff1
Browse files Browse the repository at this point in the history
  • Loading branch information
audionerd committed May 2, 2016
2 parents 563fff1 + 85ac374 commit f2f40aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ or even as a file:
```js
var scope = nock('http://myapp.iriscouch.com')
.get('/')
.replyWithFile(200, __dirname + '/replies/user.json');
.replyWithFile(200, __dirname + '/replies/user.json', { 'Content-Type': 'application/json' });
```

Instead of an object or a buffer you can also pass in a callback to be evaluated for the value of the response body:
Expand Down

0 comments on commit f2f40aa

Please sign in to comment.