I got this way wrong. It was due to pages not rendering due to there being
an error in the view (that I wasn't aware of). The problem in the view was
due to the test database not being up to date with the latest migrations...
(so page was rendering correctly in dev mode) I'm happy I've persisted
And I suspect this is because @first_render isn't being set for subsequent
renders but it's time to go home now.
On 02/04/2008, Tim Haines <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Made a little progress here. In one of my "given" steps I was posting to
> the login action. when I take this post
Hi,
Made a little progress here. In one of my "given" steps I was posting to
the login action. when I take this post out (and make other changes
required), the should render_template works correctly. It's as though the
earlier post in the given step is meaning that the response isn't set
corre
Hi y'all
The problem is probably because I'm a newb. I have a home controller in the
admin namespace.
My controller spec is working as expected, and the following example is
passing:
it "should show the home page if logged in" do
controller.send("current_user=", User.new)
get :index