projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add tests that _component_name works as expected, and that anon classes in controller...
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestApp
/
Controller
/
ContextClosure.pm
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');