lib/rack/mock.rb in rack-2.0.0.rc1 vs lib/rack/mock.rb in rack-2.0.1
- old
+ new
@@ -161,10 +161,9 @@
attr_accessor :errors
def initialize(status, headers, body, errors=StringIO.new(""))
@original_headers = headers
@errors = errors.string if errors.respond_to?(:string)
- @body_string = nil
super(body, status, headers)
end
def =~(other)