Skip to content
Browse files

Merge pull request #899 from bcardarella/master

Don't parse current_host when building mock session
  • Loading branch information...
2 parents 67a78f4 + 278f4e7 commit 7137de89d28ebab759deaebe47c70681eb67f6d4 @jnicklas committed Dec 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capybara/rack_test/browser.rb
View
2 lib/capybara/rack_test/browser.rb
@@ -94,7 +94,7 @@ def html
def build_rack_mock_session
reset_host! unless current_host
- Rack::MockSession.new(app, URI.parse(current_host).host)
+ Rack::MockSession.new(app, current_host)
end
def request_path

0 comments on commit 7137de8

Please sign in to comment.
Something went wrong with that request. Please try again.