[rspec-users] odd mock behavior

Micah Martin micah at 8thlight.com
Wed Feb 7 14:29:47 EST 2007

Thanks David.  That explains it.

RFE submitted with specs:

Micah Martin
8th Light, Inc.

On Feb 7, 2007, at 11:45 AM, David Chelimsky wrote:
> Blocks aren't currently supported in any form besides:
> my_mock.should_receive(args) {
> }
> Since none of the other methods (#with, #once, #twice, etc) deal with
> a block, the block is never being invoked.
> Feel free to submit an RFE if you feel this should be supported.
> Cheers,
> David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070207/4e8ae9a4/attachment.html 

More information about the rspec-users mailing list