Add test for looping DispatchType::Chained->list
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Root.pm
index 53d79e2..a3978d6 100644 (file)
@@ -20,4 +20,8 @@ sub localregex : LocalRegex('^localregex$') {
     $c->forward('TestApp::View::Dump::Request');
 }
 
+sub chain_to_self : Chained('chain_to_self') PathPart('') CaptureArgs(1) { }
+
+sub chain_recurse_endoint : Chained('chain_to_self') Args(0) { }
+
 1;