In a previous version of Webrat (I'm now using 0.7.1), using Webrat
with Cucumber, I used to be able to set the HTTP Proxy that mechanize
uses like so:
webrat.adaptor.mechanize.set_proxy(nil, nil)
Now I get
NoMethodError Exception: undefined method `adaptor' for
#<Webrat::Session:0x1a4c940>
Has the interface changed? I can still see an accessor for @adaptor in
http://github.com/brynary/webrat/blob/master/lib/webrat/core/session.rb
but for some reason, this doesn't work anymore. Any ideas?
Cheers,
Chris