accessing action in tests now, needs D:D fix
[catagits/CatalystX-Declare.git] / t / lib / TestApp / Controller / Foo.pm
index 4a5091a..512a2df 100644 (file)
@@ -91,5 +91,29 @@ controller TestApp::Controller::Foo {
         $ctx->response->body($str);
     }
 
+
+    #
+    #   subnamespacing
+    #
+
+    action lower under base;
+
+    under lower {
+
+        action down;
+
+        under down {
+
+            action the;
+
+            under the {
+
+                action stream is final {
+                    $ctx->response->body($ctx->action->reverse);
+                }
+            }
+        }
+    }
+
 }