Closed robjacoby closed 9 years ago
#run
isn't part of an interactor's public API, it's an internal API. If you look at #80, I rework the documentation and show how I test my interactors.
Ah damnit my apologies. I keep forgetting that pull-requests and issues are no longer combined in githubs interface and I missed that there was already a pull request open for this. I will close this PR as it's no longer required. Thanks @michaelherold
Using the method #call causes #fail! to raise an exception which prevents the example tests from working. Using #run rescues the exception and allows you to run expectations on the resulting context. [ci skip]