projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
8a64678
)
Actually use make_context_closure correctly in the tests.
Florian Ragwitz [Mon, 29 Jun 2009 22:05:25 +0000 (22:05 +0000)]
t/lib/TestApp/Controller/ContextClosure.pm
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/TestApp/Controller/ContextClosure.pm
b/t/lib/TestApp/Controller/ContextClosure.pm
index
c81ffc9
..
8a5cbc8
100644
(file)
--- a/
t/lib/TestApp/Controller/ContextClosure.pm
+++ b/
t/lib/TestApp/Controller/ContextClosure.pm
@@
-18,6
+18,7
@@
sub normal_closure : Local {
sub context_closure : Local {
my ($self, $ctx) = @_;
$ctx->stash(closure => $self->make_context_closure(sub {
+ my ($ctx) = @_;
$ctx->response->body('from context closure');
}, $ctx));
$ctx->response->body('stashed context closure');