Fix wrong REQ key in test code
Dave Rolsky [Sun, 23 Jan 2011 21:04:17 +0000 (15:04 -0600)]
t/lib/MyApp1/Controller/C1.pm

index d2991f5..9b56297 100644 (file)
@@ -70,7 +70,7 @@ chain_point '_set_thing'
 get ''
     => chained '_set_thing'
     => args 0
-    => sub { $REQ{thing_end} = $REQ{user} };
+    => sub { $REQ{thing_end} = $REQ{thing} };
 
 sub normal : Chained('/') : Args(0) {
     $REQ{normal}++;