[mocha-developer] Fwd: Content filtered message notification
jamesmead44 at gmail.com
Tue Apr 8 04:41:11 EDT 2008
Forwarding this to the list, because Mailman's content filtering didn't like
your digital signature attachment...
---------- Forwarded message ----------
From: Ken Collins <ken at metaskills.net>
To: mocha-developer at rubyforge.org
Date: Mon, 7 Apr 2008 20:06:20 -0400
Subject: Re: [mocha-developer] Rails patch
Very nice patch too!
The method/test additions were wonderful.
On Apr 6, 2008, at 6:35 PM, James Mead wrote:
On 06/04/2008, James Mead <jamesmead44 at gmail.com> wrote:
> > I've just submitted a Rails ticket  which I've been meaning to submit
> > for ages. The associated patch makes ActiveRecord "respond_to?" dynamic
> > finder methods.
> > The idea is that some new functionality I've added to Mocha will
> > (optionally) allow you to get warnings or errors if you attempt to stub
> > a
> > non-existent method.
> > With the current Rails implementation, this leads to false negatives
> > when
> > you stub dynamic finder methods.
> > If you're using Mocha with Rails and are interested in using this Mocha
> > functionality, please add a "+1" in the comments on the ticket.
> > I suppose it would be nice to retro-fit the patch to older versions of
> > Rails, but I'll leave that for another day.
> Looks like it has already been committed . Thanks.
>  http://dev.rubyonrails.org/changeset/9235
> mocha-developer mailing list
> mocha-developer at rubyforge.org
More information about the mocha-developer