added cgi_chain_root
[catagits/Catalyst-Controller-WrapCGI.git] / t / cgibin_chain_root.t
CommitLineData
9cd47364 1#!perl
2
3use strict;
4use warnings;
5
6use FindBin '$Bin';
7use lib "$Bin/lib";
8
9use Test::More tests => 1;
10
1d40d9c3 11use Catalyst::Test 'TestCGIBinChainRoot';
9cd47364 12use HTTP::Request::Common;
13
1d40d9c3 14# Test configurable path root and dir, and Chained root
9cd47364 15
f410f043 16my $response = request POST '/cgi/path/test.pl', [
9cd47364 17 foo => 'bar',
1d40d9c3 18 bar => 'baz',
9cd47364 19];
20
1d40d9c3 21is($response->content, 'foo:bar bar:baz from_chain:from_chain', 'POST to Perl CGI File');