Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix incorrect example in README.md
`sinon.assertCalledWith` should be [`sinon.assert.calledWith`](http://sinonjs.org/releases/v4.4.2/assertions/#sinonassertcalledwithspyorspycall-arg1-arg2-)
  • Loading branch information
mroderick authored and domenic committed Mar 6, 2018
1 parent fca669f commit baf4a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -6,7 +6,7 @@
Instead of using Sinon.JS's assertions:

```javascript
sinon.assertCalledWith(mySpy, "foo");
sinon.assert.calledWith(mySpy, "foo");
```

or awkwardly trying to use Chai's `should` or `expect` interfaces on spy properties:
Expand Down

0 comments on commit baf4a43

Please sign in to comment.