added cgi.pl helper script
[catagits/Catalyst-Runtime.git] / t / 06arguments.t
CommitLineData
fc7ec1d9 1package TestApp;
2
3use Catalyst;
4
5__PACKAGE__->action(
6 foo => sub {
7 my ( $self, $c, $arg ) = @_;
8 $c->res->output($arg);
9 }
10);
11
12package main;
13
14use Test::More tests => 1;
15use Catalyst::Test 'TestApp';
16
17ok( get('/foo/bar') =~ /bar/ );