
webrat has trouble following redirects with explicit urls after visiting relative urls
Reported by pathsny (at gmail) | April 25th, 2010 @ 10:29 AM
as described in the topic. The problem seems to be that if the
current_url is relative webrat cannot figure out the current
host.
here are two example gists. One is a simple website written using
sinatra and the other is a webrat test that attempts to visit the
urls.
http://gist.github.com/377645
http://gist.github.com/377644
Ideally, visiting /hi and clicking the button should take you to /bar. But because of the bug webrat gets stuck at /boo
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.
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.