Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assert_redirects does not work with absolute location #2

Open
jpvanhal opened this issue Jan 30, 2013 · 0 comments
Open

assert_redirects does not work with absolute location #2

jpvanhal opened this issue Jan 30, 2013 · 0 comments

Comments

@jpvanhal
Copy link
Contributor

assert_redirects always prepends the location with "http://localhost". This is fine for 95 percent of time, but sometimes I want to test if the response redirects to another domain. Thus, assert_redirects should only prepend the location with "http://localhost" if the location is not absolute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant