projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
make t/04 to t/10 pass.
[catagits/Catalyst-Runtime.git]
/
t
/
04plainaction.t
diff --git
a/t/04plainaction.t
b/t/04plainaction.t
index
6ca8e81
..
ed448db
100644
(file)
--- a/
t/04plainaction.t
+++ b/
t/04plainaction.t
@@
-2,12
+2,12
@@
package TestApp;
use Catalyst qw[-Engine=Test];
-__PACKAGE__->action(
- foo => sub {
- my ( $self, $c ) = @_;
- $c->res->output('bar');
- }
-);
+sub foo : Global {
+ my ( $self, $c ) = @_;
+ $c->res->output('bar');
+}
+
+__PACKAGE__->setup;
package main;