more fixing to broken file
This commit is contained in:
parent
0e66ec82af
commit
a940e3232b
@ -23,7 +23,11 @@ module Webrat
|
|||||||
def response_body
|
def response_body
|
||||||
@response.body.to_s
|
@response.body.to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def response_code
|
||||||
|
@response.status
|
||||||
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
def do_request(url, data, headers, method)
|
def do_request(url, data, headers, method)
|
||||||
@response = request(url, :params => data, :headers => headers, :method => method)
|
@response = request(url, :params => data, :headers => headers, :method => method)
|
||||||
@ -38,3 +42,4 @@ class Merb::Test::RspecStory
|
|||||||
@browser ||= Webrat::Session.new
|
@browser ||= Webrat::Session.new
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user