busterjs/buster — Issue #82: `toBeCalledWith` doesn't work when stub is called multiple times
Author: malclocke
Created: 2012-02-16 22:06:44+00:00
State: open

This seems to work with plain sinon, but fails as a buster expectation. E.g.:

it("accepts multiple calls to a stub", function() {
var stub = sinon.stub();
stub('foo');
stub('bar');
expect(stub).toBeCalledWith('foo'); // fails
});