projects
/
catagits/Catalyst-Runtime.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix Apache, added C::E::Apache::MP1 and C::E::Apache::MP2, added $c->finialize_cookies
[catagits/Catalyst-Runtime.git]
/
t
/
07arguments.t
1
package TestApp;
2
3
use Catalyst qw[-Engine=Test];
4
5
sub foo : Global {
6
my ( $self, $c, $arg ) = @_;
7
$c->res->output($arg);
8
}
9
10
__PACKAGE__->setup;
11
12
package main;
13
14
use Test::More tests => 1;
15
use Catalyst::Test 'TestApp';
16
17
ok( get('/foo/bar') =~ /bar/ );