lib/wbench/timings/app_server.rb in wbench-0.2.3 vs lib/wbench/timings/app_server.rb in wbench-0.3.0

- old
+ new

@@ -1,9 +1,9 @@ module WBench module Timings class AppServer def initialize(browser) - uri = URI.parse(browser.url) + uri = Addressable::URI.parse(browser.url) @http = Net::HTTP.new(uri.host, uri.port) @http.use_ssl = uri.scheme == 'https' @request = Net::HTTP::Get.new(uri.request_uri) end