added cgi_chain_root
[catagits/Catalyst-Controller-WrapCGI.git] / t / cgibin_root_path.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
11use Catalyst::Test 'TestCGIBinRoot';
12use HTTP::Request::Common;
13
f410f043 14# Test configurable path root and dir
9cd47364 15
f410f043 16my $response = request POST '/cgi/path/test.pl', [
9cd47364 17 foo => 'bar',
18 bar => 'baz'
19];
20
21is($response->content, 'foo:bar bar:baz', 'POST to Perl CGI File');