test/spec_rack_cgi.rb in rack-1.1.0 vs test/spec_rack_cgi.rb in rack-1.1.1.pre
- old
+ new
@@ -45,10 +45,10 @@
specify "should have CGI headers on GET" do
GET("/test")
response["REQUEST_METHOD"].should.equal "GET"
response["SCRIPT_NAME"].should.equal "/test"
response["REQUEST_PATH"].should.equal "/"
- response["PATH_INFO"].should.equal ""
+ response["PATH_INFO"].should.be nil
response["QUERY_STRING"].should.equal ""
response["test.postdata"].should.equal ""
GET("/test/foo?quux=1")
response["REQUEST_METHOD"].should.equal "GET"