cjohansen/Sinon.JS — pull request #212 by marvinthepa (2012-12-07 09:49:59+00:00)
Title: As requested in #209, stub.resetBehavior

stub.resetBehavior:
resets the behavior that was defined by previous stub.callsArg*, stub.yields*,
stub.returns* calls.

See #209 and #195

I am not very familiar with the inner workings of sinon, so especially the tests might not be up to your standards.

Let me know if you want me to write some documentation.