mattkrick / cashay

:moneybag: Relay for the rest of us :moneybag:
MIT License
453 stars 28 forks source link

Shutting down Cashay #142

Closed dustinfarris closed 7 years ago

dustinfarris commented 7 years ago

I am writing acceptance tests against an app using cashay. And it seems that some remnants of cashay get carried over between tests.

Is there a way to shutdown/reset cashay after a test so it's created fresh for the next one?

mattkrick commented 7 years ago

cashay.clear() should do the trick.

dustinfarris commented 7 years ago

That did it!