[rspec-users] should_receive and multiple return values

Ashley Moran work at ashleymoran.me.uk
Mon Dec 18 08:52:17 EST 2006

On 18 Dec 2006, at 12:31, Pat Maddox wrote:

> So it really should just be and_return([2005, 3])
> Pat

Cool.  I never realised that... if I'd changed my spec *first* like  
I'm supposed to I would have noticed it worked :)


More information about the rspec-users mailing list