Catalyst-Controller-WrapCGI

 view release on metacpan or  search on metacpan

t/cgibin_chain_root.t  view on Meta::CPAN

#!perl

use strict;
use warnings;

use FindBin '$Bin';
use lib "$Bin/lib";

use Test::More tests => 1;

use Catalyst::Test 'TestCGIBinChainRoot';
use HTTP::Request::Common;

# Test configurable path root and dir, and Chained root

my $response = request POST '/cgi/path/test.pl', [
    foo => 'bar',
    bar => 'baz',
];

is($response->content, 'foo:bar bar:baz from_chain:from_chain', 'POST to Perl CGI File');



( run in 5.958 seconds using v1.01-cache-2.11-cpan-75ffa21a3d4 )