more fixing to broken file

This commit is contained in:
Krzysztof Zylawy 2008-10-21 13:24:35 +01:00
parent 0e66ec82af
commit a940e3232b

View File

@ -24,6 +24,10 @@ module Webrat
@response.body.to_s
end
def response_code
@response.status
end
protected
def do_request(url, data, headers, method)
@response = request(url, :params => data, :headers => headers, :method => method)
@ -38,3 +42,4 @@ class Merb::Test::RspecStory
@browser ||= Webrat::Session.new
end
end