[rspec-users] silly partial qu

steven shingler shingler at gmail.com
Sat May 3 16:08:25 EDT 2008

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 =>

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.


More information about the rspec-users mailing list