#375 new
pathsny (at gmail)

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.

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.

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

People watching this ticket