Skip to content

Commit

Permalink
dont throw away the query and fragment parts of url
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Apr 26, 2012
1 parent f7a959d commit a7d65ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capybara/email/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7d65ce

Please sign in to comment.