test/unit/request_test.rb in m2r-1.0.0 vs test/unit/request_test.rb in m2r-2.0.0
- old
+ new
@@ -10,9 +10,10 @@
assert_equal "default", request.headers['Host']
assert_equal "HEAD", request.method
assert_equal nil, request.query
assert_equal nil, request.pattern
assert_equal "https", request.scheme
+ assert_equal false, request.close?
end
def test_scheme
data = %q[FAKESENDER 0 / 96:{"PATH":"/","host":"default","METHOD":"HEAD","VERSION":"HTTP/1.1","URI":"/","URL_SCHEME":"http"},0:,]
request = Request.parse(data)