That was it! Thanks, Rick!
Sorry about not posting the failure. DOH! Thanks again, everyone!
-Corey
On Jan 14, 2008 9:38 PM, Rick DeNatale <[EMAIL PROTECTED]> wrote:
> On 1/14/08, Corey Haines <[EMAIL PROTECTED]> wrote:
> > Hi, all!
> >
> > I would love if someone could help me figure this out.
On 1/14/08, Corey Haines <[EMAIL PROTECTED]> wrote:
> Hi, all!
>
> I would love if someone could help me figure this out. I can't seem to see
> why the following fails:
>
> Here's the spec:
> it "should redirect back to the index page" do
> Coupon.should_receive
> (:new).with({"name"=>@expect
Did your spec failed?
Would you paste it?
On Jan 14, 2008 9:32 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Jan 14, 2008 8:31 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> > Hi, all!
> >
> > I would love if someone could help me figure this out. I can't seem to
> see
> > why the following
On Jan 14, 2008 8:31 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> Hi, all!
>
> I would love if someone could help me figure this out. I can't seem to see
> why the following fails:
>
> Here's the spec:
> it "should redirect back to the index page" do
> Coupon.should_receive
> (:new).with({"n