hi, I have a template that conditionally renders a partial. Is there a way to test that a partial is NOT rendered? :)
On 8/13/07, Jonathan Linowes <jonathan at parkerhill.com> 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 > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >