Skip to content

Commit

Permalink
Merge pull request #9 from twalpole/dont_throw_query
Browse files Browse the repository at this point in the history
dont throw away the query and fragment parts of url
  • Loading branch information
bcardarella committed May 29, 2012
2 parents f7a959d + a7d65ce commit b0b56ea
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 b0b56ea

Please sign in to comment.