[Rspec-devel] Feature requests

David Astels dastels at daveastels.com
Wed Aug 16 00:48:01 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 15-Aug-06, at 10:28 PM, Judson Lester wrote:

>
> It wouldn't hurt if mocks passed .and_return([1,2,3]) would treat that
> as an expectation to be called at least 3 times, and warn if they were
> told otherwise - it's certainly not Least Surprise when the class  
> being
> specced against fails because it's getting the wrong result.

I rather like this.. ok.. ok... what I really said when I read this  
was "why didn't I think of that!" ;)

Dave

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFE4qOBauez/L4x7g4RApTSAJ90Y3xtgBO3nUBP2Sy7k1FwAvHLQACdERdD
mgML2mjUSF86vp4s59fn9Qk=
=94ib
-----END PGP SIGNATURE-----


More information about the Rspec-devel mailing list