By the point that you get here, $reference is already true due to autovivifcation...
Tomas Doran [Tue, 10 Feb 2009 22:46:23 +0000 (22:46 +0000)]
t/lib/TestApp/View/Dump.pm

index db7c2a0..c4c29db 100644 (file)
@@ -37,7 +37,7 @@ sub process {
     my $context = delete $reference->{_context};
 
     if ( my $output =
-        $self->dump( $reference || $c->stash->{dump} || $c->stash ) )
+        $self->dump( $reference ) )
     {
 
         $c->res->headers->content_type('text/plain');