[mocha-developer] Preview of Latest Mocha Changes

Frederick Cheung fred at 82ask.com
Thu Apr 12 17:17:38 EDT 2007


D'oh, hadn't read past the list of things that were being deprecated.  
All looks good to me !
Fred
On 12 Apr 2007, at 20:56, James Mead wrote:

> The idea would be you could use the new functionality to do something
> like this instead...
>
> thing.stubs(:foo).raises(Foo).then.returns(:blah)
>
> Does that make sense?
>
> -- 
> James.
> http://blog.floehopper.org
> _______________________________________________
> mocha-developer mailing list
> mocha-developer at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mocha-developer



More information about the mocha-developer mailing list