[rspec-users] Adding Test Spy into Rspec mocking framework

Zach Dennis zach.dennis at gmail.com
Mon Sep 15 17:18:03 EDT 2008

On Mon, Sep 15, 2008 at 2:28 PM, Pat Maddox <pergesu at gmail.com> wrote:
> On Mon, Sep 15, 2008 at 12:54 PM, Joseph Wilk <lists at ruby-forum.com> wrote:
>>>Doesn't RR already support test spy?
>> I don't believe so. There is nothing on the github page or anything I
>> can spot in the current code in git. The github docs do mention it as
>> something they are aiming to do.
>>> o = stub("stub", :foo => true)
>>> o.foo
>>> o.should have_received(:foo)
>> That sounds really interesting Pat. Is is something that's living in
>> github? I would be interested to see what you are coming up with when
>> you get a chance to let it out into the wild.
> It's not up there yet, but I can push it when I get home.  Granted,
> it's far from complete, but the basics are in place.  I need to pull
> out some of the existing expectation code so we can easily reuse it in
> the post hoc verification style.

You have been a busy man recently Pat! Kudos to all the work you've
been doing providing goodness for the community,

Zach Dennis

More information about the rspec-users mailing list