jeroenvandijk/capybara-mechanize — pull request #30 by mikel (2012-01-25 01:04:22+00:00)
Title: Upgrade to Mechanize 2.1

Hi there guys,

Just did some work to upgrade to use Mechanize 2.1

Needed to do the monkey patch as Mechanize 2.1 uses their net-http-persistent gem which bypasses Artifice.

Seemed to be the simplest way to do it as there is no direct way to set the instance variable required in Net::HTTP::Persistent#http_class that I could see.

All tests pass.

Mikel