This did never work, has never worked, etc. Writing tests for the environment (to...
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Dump.pm
index 0a259e9..5ea3ba0 100644 (file)
@@ -8,6 +8,11 @@ sub default : Action Private {
     $c->forward('TestApp::View::Dump');
 }
 
+sub env : Action Relative {
+    my ( $self, $c ) = @_;
+    $c->forward('TestApp::View::Dump', [\%ENV]);
+}
+
 sub parameters : Action Relative {
     my ( $self, $c ) = @_;
     $c->forward('TestApp::View::Dump::Parameters');
@@ -23,4 +28,9 @@ sub response : Action Relative {
     $c->forward('TestApp::View::Dump::Response');
 }
 
+sub body : Action Relative {
+    my ( $self, $c ) = @_;
+    $c->forward('TestApp::View::Dump::Body');
+}
+
 1;