On Mon, Sep 15, 2008 at 12:54 PM, Joseph Wilk <[EMAIL PROTECTED]> 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. Pat _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users