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)
|
||||
end
|
||||
|
||||
def response
|
||||
@response
|
||||
end
|
||||
|
||||
def response_body
|
||||
@response.content
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user