I have the following in my scenario:
And I click the link Log out
Then I should see the login page
Clicking the Log out
link sends the user to /log_out, which redirects back to the log in page. Webrat is failing because it's looking for "Login" but the log_out page is empty (it's just a codeigniter function which destroys the session and redirects to /)
What is the best way of making webrat realise that it needs to read the page at the end of the redirect?