[rspec-users] stubs which yield and return

Scott Taylor mailing_lists at railsnewbie.com
Tue Aug 7 18:52:12 EDT 2007

On Aug 7, 2007, at 12:54 PM, David Chelimsky wrote:

> On 8/7/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
>> Is there any reason why a stub couldn't both yield and return?
> Yes. Nobody ever asked for it :)
> Again - this simply hasn't come up. Please add an RFE and feel free to
> submit a patch.

Will do.  I think for now I'm going to override the stub in the  
spec to yield.

More importantly, I'm going to get autotest to work w/ rspec's native
development before I do anymore rspec work.  The time to run the
full test suite is absolutely unbearable on my Mac G4.


More information about the rspec-users mailing list