#168 ✓resolved
Kieran P

Redirects in Rails 2.3 not being followed by Webrat

Reported by Kieran P | February 17th, 2009 @ 05:52 PM

Have upgraded our app from Rails 2.1 to Rails 2.3 RC1 and the biggest issue so far has been nearly our entire webrat suite failing because of an issue.

The redirects in 2.3 return "You are being redirected" as the body then redirect pretty much instantly, which works in browsers, but webrat, instead of following the redirect, returns the page body that has that "You are being redirected" text.

i.e. the page body being returned by webrat via 'response.body' is not the page body of the page once redirects finish.

Hope that makes sense.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

Referenced by

Pages