[mocha-developer] Module stubbing methods?
James Mead
jamesmead44 at gmail.com
Fri Feb 22 04:47:12 EST 2008
Hi Ken,
Your message got bounced by mailman - I'm guessing it didn't like your p7s
attachment, but I'm not really sure.
I'm re-posting to the list on your behalf...
On 22/02/2008, Ken Collins <ken at metaskills.net> wrote:
> I found myself wondering about this when I needed to stub a helper
> method that test weather a rails app is in production mode or not. Has
> anyone run into Module stubbing needs at all and or is it a
> possibility that Mocha could do some ruby-fu to accomodate an
> any_instance style behavior on them?
>
> General thoughts?
>
>
> - Thanks,
> Ken
>
--
James.
http://blog.floehopper.org
http://tumble.floehopper.org
More information about the mocha-developer
mailing list