[Catalyst-commits] r10413 - trunk/Catalyst-Controller-WrapCGI/t
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Tue Jun 2 01:12:12 GMT 2009
Author: caelum
Date: 2009-06-02 01:12:12 +0000 (Tue, 02 Jun 2009)
New Revision: 10413
Modified:
trunk/Catalyst-Controller-WrapCGI/t/cgibin.t
Log:
test cgibin with query params
Modified: trunk/Catalyst-Controller-WrapCGI/t/cgibin.t
===================================================================
--- trunk/Catalyst-Controller-WrapCGI/t/cgibin.t 2009-06-01 22:52:58 UTC (rev 10412)
+++ trunk/Catalyst-Controller-WrapCGI/t/cgibin.t 2009-06-02 01:12:12 UTC (rev 10413)
@@ -6,7 +6,7 @@
use FindBin '$Bin';
use lib "$Bin/lib";
-use Test::More tests => 8;
+use Test::More tests => 9;
use Catalyst::Test 'TestCGIBin';
use HTTP::Request::Common;
@@ -21,6 +21,11 @@
is($response->content, 'foo:bar bar:baz', 'POST to Perl CGI File');
+$response = request '/my-bin/path/test.pl?foo=bar&bar=baz';
+
+is($response->content, 'foo:bar bar:baz',
+ 'Perl CGI File invoked with query params');
+
$response = request POST '/my-bin/exit.pl', [
name => 'world',
];
More information about the Catalyst-commits
mailing list