Skip to content

Commit

Permalink
Amend README details of graceful spy matchers
Browse files Browse the repository at this point in the history
  • Loading branch information
froots committed Mar 13, 2013
1 parent 0da0de9 commit 6875832
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,12 @@ In general, you should be able to translate a Sinon spy/stub/mock API method to

These matchers will work on spies, individual spy calls, stubs and mocks.

## Warning

_jasmine-sinon_ currently overwrites any Jasmine matchers of the same name used for its own spying features. I plan to allow these to be optionally retained in the future.

The native Jasmine matchers that are overwritten are:

* toHaveBeenCalled()
* toHaveBeenCalledWith()
You can also use Jasmine spies alongside your Sinon spies. _jasmine-sinon_ will detect which you're using and use the appropriate matcher.

## Contributors

Thanks to:

* @aelesbao for Exception matchers
* @theinterned for, er, match matchers
* @milichev for graceful spy matchers

0 comments on commit 6875832

Please sign in to comment.