From 057ed5dd55b749908eb6e884325ab5bf09293843 Mon Sep 17 00:00:00 2001 From: Blake Gentry Date: Thu, 30 Jun 2011 15:17:09 -0700 Subject: [PATCH] Not sure what reset_cache was doing here since it's undefined. --- lib/capybara/driver/mechanize_driver.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/capybara/driver/mechanize_driver.rb b/lib/capybara/driver/mechanize_driver.rb index 6817d0f..006faaf 100644 --- a/lib/capybara/driver/mechanize_driver.rb +++ b/lib/capybara/driver/mechanize_driver.rb @@ -143,7 +143,6 @@ def process_remote_request(method, url, *options) @last_remote_host = "#{remote_uri.host}:#{remote_uri.port}" end - reset_cache params, headers = options #In order to appropriately capture pages from which mechanize throws an exception begin