Uninstall should clear requests/stubs. #39

Closed
ragaskar opened this Issue Oct 24, 2013 · 1 comment

Projects

None yet

1 participant

@ragaskar
Collaborator

I was surprised that uninstall doesn't clear requests and stubs.There's a clear workaround in that I can choose to do this myself, but I would expect uninstall to basically give me a fresh instance. I can't really think of a case where I would want either to be preserved between tests.

I mention it only because I'm guessing in may be incidental -- if it's intentional I'm fine with clearing them myself I suppose, since it's just a few lines in my spec_helper.js.

@ragaskar
Collaborator

I guess I could see why with usage of withMock this might be less than desirable.

@jboyens jboyens closed this in 14ca64b Nov 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment