fix tests for new HTTP::Request::AsCGI, release
Rafael Kitover [Sat, 5 Jun 2010 21:55:30 +0000 (21:55 +0000)]
Changes
lib/Catalyst/Controller/CGIBin.pm
lib/Catalyst/Controller/WrapCGI.pm
lib/CatalystX/GlobalContext.pm
t/wrap-cgi.t

diff --git a/Changes b/Changes
index a3b7b74..1549616 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Catalyst-Controller-WrapCGI
 
+0.029  2010-06-05 21:12:47
+    - update tests for new HTTP::Request::AsCGI
+
 0.028  2010-04-07 17:51:38
     - added cgi_chain_root and cgi_file_pattern options for CGIBin
 
index 65858a8..06e6de7 100644 (file)
@@ -24,7 +24,7 @@ Catalyst::Controller::CGIBin - Serve CGIs from root/cgi-bin
 
 =cut
 
-our $VERSION = '0.028';
+our $VERSION = '0.029';
 
 =head1 SYNOPSIS
 
index 5ddf71f..f1de732 100644 (file)
@@ -21,7 +21,7 @@ Catalyst::Controller::WrapCGI - Run CGIs in Catalyst
 
 =cut
 
-our $VERSION = '0.028';
+our $VERSION = '0.029';
 
 =head1 SYNOPSIS
 
index e6c80d3..3df95ae 100644 (file)
@@ -15,7 +15,7 @@ CatalystX::GlobalContext - Export Catalyst Context
 
 =cut
 
-our $VERSION = '0.028';
+our $VERSION = '0.029';
 
 =head1 SYNOPSIS
 
index 9a2d6b0..842e659 100644 (file)
@@ -47,8 +47,8 @@ $response = request '/cgi-bin/test_pathinfo.cgi/path/%2Finfo';
 is($response->content, '/path//info', 'PATH_INFO is correct');
 
 $response = request '/cgi-bin/test_filepathinfo.cgi/path/%2Finfo';
-is($response->content, '/test_filepath_info/path/%2Finfo',
-    'FILEPATH_INFO is correct (maybe)');
+is($response->content, '/test_filepath_info/path//info',
+    'FILEPATH_INFO is correct');
 
 $response = request '/cgi-bin/mtfnpy/test_scriptname.cgi/foo/bar';
 is($response->content, '/cgi-bin/mtfnpy/test_scriptname.cgi',