diff --git a/lib/webrat/mechanize.rb b/lib/webrat/mechanize.rb index af11193..e97aeb9 100644 --- a/lib/webrat/mechanize.rb +++ b/lib/webrat/mechanize.rb @@ -1,11 +1,15 @@ require "mechanize" module Webrat #:nodoc: - class MechanizeAdapter < Session #:nodoc: + class MechanizeAdapter #:nodoc: + extend Forwardable attr_accessor :response alias :page :response + def initialize(*args) + end + def request_page(url, http_method, data) #:nodoc: super(absolute_url(url), http_method, data) end