Adding response method to MechanizeSession
This commit is contained in:
parent
0dd7ea2ae0
commit
ec8bc82c24
@ -28,6 +28,10 @@ module Webrat
|
|||||||
@response = @mechanize.post(url, post_data)
|
@response = @mechanize.post(url, post_data)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def response
|
||||||
|
@response
|
||||||
|
end
|
||||||
|
|
||||||
def response_body
|
def response_body
|
||||||
@response.content
|
@response.content
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user