[mocha-developer] Problem with RSpec and Mocha/Stubba
jamesmead44 at gmail.com
Wed Sep 13 09:37:52 EDT 2006
On 13/09/06, James Mead <jamesmead44 at gmail.com> wrote:
# add this line to your context's setup
> $stubba = Stubba:: Central.new
> Getting the auto-verify to work and sorting this out properly needs a bit
> more thought.
Of course, I forgot to mention that this hack is more evil than nasty,
because without the stubba teardown being triggered your stubbed method
won't get put back together again. So anything other than instance method
stubs will be left in place and will most likely trip you up in subsequent
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mocha-developer