[Catalyst-commits] r10732 -
Catalyst-Runtime/5.80/trunk/t/lib/TestApp/Controller
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Mon Jun 29 22:05:25 GMT 2009
Author: rafl
Date: 2009-06-29 22:05:25 +0000 (Mon, 29 Jun 2009)
New Revision: 10732
Modified:
Catalyst-Runtime/5.80/trunk/t/lib/TestApp/Controller/ContextClosure.pm
Log:
Actually use make_context_closure correctly in the tests.
Modified: Catalyst-Runtime/5.80/trunk/t/lib/TestApp/Controller/ContextClosure.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/t/lib/TestApp/Controller/ContextClosure.pm 2009-06-29 22:05:12 UTC (rev 10731)
+++ Catalyst-Runtime/5.80/trunk/t/lib/TestApp/Controller/ContextClosure.pm 2009-06-29 22:05:25 UTC (rev 10732)
@@ -18,6 +18,7 @@
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');
More information about the Catalyst-commits
mailing list