summary refs log tree commit
path: root/test/spec_rack_cgi.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec_rack_cgi.rb')
-rw-r--r--test/spec_rack_cgi.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/spec_rack_cgi.rb b/test/spec_rack_cgi.rb
index 818fabdf..97456320 100644
--- a/test/spec_rack_cgi.rb
+++ b/test/spec_rack_cgi.rb
@@ -3,7 +3,7 @@ require 'testrequest'
 
 context "Rack::Handler::CGI" do
   include TestRequest::Helpers
-  
+
   setup do
     @host = '0.0.0.0'
     @port = 9203
@@ -47,7 +47,7 @@ context "Rack::Handler::CGI" do
     response["REQUEST_METHOD"].should.equal "GET"
     response["SCRIPT_NAME"].should.equal "/test"
     response["REQUEST_PATH"].should.equal "/"
-    response["PATH_INFO"].should.be.nil
+    response["PATH_INFO"].should.equal ""
     response["QUERY_STRING"].should.equal ""
     response["test.postdata"].should.equal ""