Ken Collins
Software Engineer · Not a member
Ken Collins's latest activity
Tuesday, July 27 2010
68
during block for mocha
was updated
in mocha
-
Ken Collins commented at 7:09 PMYea, totally can without.
def blocked puts 'before' yield puts 'after' end blocked do puts 'doing' end # >> before # >> doing # >> after -
Ken Collins commented at 2:39 PMInteresting, I might use this. It does seem very useful when you need discreet stubs during a long running test typically in integration/functional land. Possib...