Hi Rick,
Thanks for your reply.
You are right that this step is basically testing the basic actions of
a controller, and is being run as part of a story_with_steps stack.
The step itself is definitely being hit, because I have a:
response.should have_tag('li', @title)
...in the same step, and that
On Sun, May 4, 2008 at 10:16 AM, steven shingler [EMAIL PROTECTED] wrote:
Hi Rick,
Thanks for your reply.
You are right that this step is basically testing the basic actions of
a controller, and is being run as part of a story_with_steps stack.
The step itself is definitely being hit,
Hi Rick - Thanks again.
Cool - I see what you mean about what the story steps should get
involved with, and what should be left to the specs.
In that case, my response.should have_tag('li', @title) is a
reasonable test, and I'll leave it at that!
All the best,
Steven
On Sun, May 4, 2008 at 3:36
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)