Closed hfaulds closed 8 years ago
So I guess my real aim is to remove any instance of client.stub
from the tests.
I don't feel this PR is very focused on making that a reality but thought I'd share my ideas publicly. I'll close this and hopefully find some time to address this properly in another PR.
Motivated by https://github.com/estately/rets/pull/188
The partial stubbing in our tests was hiding an exception.
I wanted to try using some dependency injection and real objects to help make our tests capture these scenarios.