hi all,

i'm just trying to check a partial has been rendered, by using:
response.template.should_receive(:render).with(:partial => "tasks/list")

this passes, even if I put something bogus in the partial name, such as:
response.template.should_receive(:render).with(:partial =>
"___tassdfsdfks/list")

does anyone know why this doesn't fail?
is this the wrong way to simply check a partial is being rendered?
am running this as a story step.

thanks,
steven
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to