Documentation needs to describe RR::ProcFromBlock #71

Closed
trcarden opened this Issue Nov 10, 2011 · 1 comment

Projects

None yet

2 participants

@trcarden

Check this stackoverflow:

http://stackoverflow.com/questions/8056523/how-do-you-mock-a-method-with-a-block-using-rr-double-ruby-on-rails-3

It would have been really useful to document how to pass a block to a mocked method. I had to discover this myself and i don't see it currently in the docs. A quick mention would be really useful.

Thanks!

@mcmire mcmire closed this Mar 15, 2013
@mcmire
Collaborator
mcmire commented Mar 15, 2013

Superceded by #82.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment