"fixed" MechanizeSession, Session expects get and post to have 3 arguments
This commit is contained in:
parent
71adad4ada
commit
40c6b6ed44
|
@ -6,11 +6,11 @@ module Webrat
|
|||
@mechanize = mechanize
|
||||
end
|
||||
|
||||
def get(url, data)
|
||||
def get(url, data, headers_argument_not_used = nil)
|
||||
@mechanize_page = @mechanize.get(url, data)
|
||||
end
|
||||
|
||||
def post(url, data)
|
||||
def post(url, data, headers_argument_not_used = nil)
|
||||
@mechanize_page = @mechanize.post(url, data)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue