Fix the go test
Tomas Doran [Sat, 21 Mar 2009 15:17:38 +0000 (15:17 +0000)]
t/aggregate/live_component_controller_action_go.t
t/lib/TestApp/Controller/Action/Go.pm

index 407d4d2..4ad6c26 100644 (file)
@@ -262,7 +262,7 @@ sub run_tests {
         ok( my $response = request('http://localhost/action/go/go_chained'), 'go to chained + subcontroller endpoint' );
         is( $response->header('X-Catalyst-Executed'),
             $expected, 'Executed actions' );
-        is( $response->content, '; 1', 'Content OK' );
+        is( $response->content, 'arg1, arg2; captureme', 'Content OK' );
     }
 
 }
index 9c7f3e6..23ea06a 100644 (file)
@@ -63,7 +63,7 @@ sub go_die : Local {
 
 sub go_chained : Local {
     my ( $self, $c, $val ) = @_;
-    $c->go('/action/chained/foo/spoon',[1]);
+    $c->go('/action/chained/foo/spoon', ['captureme'], [qw/arg1 arg2/]);
 }
 
 sub view : Local {