Permalink
Browse files

Merge pull request #9 from twalpole/dont_throw_query

dont throw away the query and fragment parts of url
  • Loading branch information...
bcardarella committed May 29, 2012
2 parents f7a959d + a7d65ce commit b0b56ea55c11af1a30a3dd8ed0bccb0c87485516
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capybara/email/driver.rb
@@ -11,7 +11,7 @@ def follow(url)
when :rack_test
url.to_s
else
- Capybara.current_session.driver.send(:url, url.path)
+ Capybara.current_session.driver.send(:url, url.request_uri)
end
Capybara.current_session.driver.visit url

0 comments on commit b0b56ea

Please sign in to comment.