Render :action and routes problem with cucumber scenario


I have a cucumber scenario to verify what happens when an user account
is not active yet. In that situation it will display an error and keep
the user in the same login screen. The scenario includes:

And I press "Login"
Then I should be on the login page
And I should see "Your account has not been activated yet."