Hi, ? I''m doing my first steps with ? cucumber (0.10.0) webrat (0.7.3) mechanize (1.0.0)? ? under rails (3.0.4). ? As a first test I tried to check our login dialog. It worked basically (I see the successful login procedure in the server.log) but after a successfully login the user is redirected to ? ? "redirect_to root_url" in the rails code. ? And there I get an error in my cucumber test: ?>snip?... ?You are being redirected. (RSpec::Expectations::ExpectationNotMetError)>snip? I found this patch suggestion: http://www.42.mach7x.com/2011/01/03/webrat-0-7-2-problem-with-rails-3-0-3/ but it did not help. ? My workaround is now that I do a "visit root_url" before I "response_body.should contain(welcome)" ? but the first line should not be necessary. ? Any help available? ? Thomas ? ? ? ? ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/mechanize-users/attachments/20110221/504d5d5a/attachment.html>