Move all request state out of the engine into Request/Response.
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / View / Dump / Response.pm
index 010d01c..3f9b361 100644 (file)
@@ -5,7 +5,10 @@ use base qw[TestApp::View::Dump];
 
 sub process {
     my ( $self, $c ) = @_;
-    return $self->SUPER::process( $c, $c->response );
+    my $r = $c->response;
+    local $r->{_writer};
+    local $r->{_reponse_cb};
+    return $self->SUPER::process( $c, $r );
 }
 
 1;