On 8/13/07, Jonathan Linowes <[EMAIL PROTECTED]> wrote:
> hi, I have a template that conditionally renders a partial. Is there
> a way to test that a partial is NOT rendered?
> :)

template.should_render(:partial =>
'/partial/that/should/not/get/rendered').never

>
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to