Works like a charm. Thanks!
On 7/14/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On 7/14/07, aslak hellesoy <[EMAIL PROTECTED]> wrote:
> > On 7/14/07, Jed Hurt <[EMAIL PROTECTED]> wrote:
> > > I found this:
> > >
> > > controller.expect_render(:partial => 'thing', :collection => things).once
>
On 7/14/07, aslak hellesoy <[EMAIL PROTECTED]> wrote:
> On 7/14/07, Jed Hurt <[EMAIL PROTECTED]> wrote:
> > I found this:
> >
> > controller.expect_render(:partial => 'thing', :collection => things).once
> >
> > but I am trying to expect_render twice in my view spec:
> >
> > template.expect_render(
On 7/14/07, Jed Hurt <[EMAIL PROTECTED]> wrote:
> I found this:
>
> controller.expect_render(:partial => 'thing', :collection => things).once
>
> but I am trying to expect_render twice in my view spec:
>
> template.expect_render(:partial => 'order_details').twice
>
>
> This doesn't work as the temp
I found this:
controller.expect_render(:partial => 'thing', :collection => things).once
but I am trying to expect_render twice in my view spec:
template.expect_render(:partial => 'order_details').twice
This doesn't work as the template.expect_render call seems to be
returning an array. Is it p