Reverted Browser#current_url

This commit is contained in:
Matt Colyer 2011-07-29 16:14:31 -07:00
parent 3f3382ac72
commit 9cf2fc4414
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class Capybara::RackTest::Browser
end
def current_url
URI.join(@current_host, URI.parse(last_request.url).request_uri).to_s
last_request.url
rescue Rack::Test::Error
""
end