projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
i want some kick ass tests for this :)
[catagits/Catalyst-Runtime.git]
/
t
/
07arguments.t
diff --git
a/t/07arguments.t
b/t/07arguments.t
index
e4c76cf
..
51b5310
100644
(file)
--- a/
t/07arguments.t
+++ b/
t/07arguments.t
@@
-2,12
+2,12
@@
package TestApp;
use Catalyst qw[-Engine=Test];
-__PACKAGE__->action(
- foo => sub {
- my ( $self, $c, $arg ) = @_;
- $c->res->output($arg);
- }
-);
+sub foo : Global {
+ my ( $self, $c, $arg ) = @_;
+ $c->res->output($arg);
+}
+
+__PACKAGE__->setup;
package main;