jnicklas/capybara — pull request #899 by bcardarella (2012-12-03 01:53:42+00:00)
Title: Don't parse current_host when building mock session

Because the current_host is now being explicitly set to the host instead
of the full URI (as it was in Capybara 1.x) when URI.parse is being used
the result will always be `nil` when parsing the host from an incomplete
URI.