mercredi 4 septembre 2019

Stubbing Out Instance Methods In MiniTest

I have a handful of instance methods I need to stub out before I test an assertion within the context of MiniTest.

Would there be a way to accomplish this out of the box?

The examples I've come across all seem to be related to just stubbing out one method and then passing a block to be executed within the stubbed context

Aucun commentaire:

Enregistrer un commentaire