X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Faggregate%2Flive_component_controller_action_chained.t;h=d388a3b86c1ea71f4548c47bd18b6e748b57b6c9;hp=f0cbc6a74c16edecd69c8a55341c2465e52c8ced;hb=88e5a8b0c4d28e46b8ba6b6b9567063e57af9063;hpb=9868e0a0023cc8b598d60f150ea367e0056a65f3 diff --git a/t/aggregate/live_component_controller_action_chained.t b/t/aggregate/live_component_controller_action_chained.t index f0cbc6a..d388a3b 100644 --- a/t/aggregate/live_component_controller_action_chained.t +++ b/t/aggregate/live_component_controller_action_chained.t @@ -53,7 +53,7 @@ sub run_tests { { my $expected = undef; - ok( my $response = request('http://localhost/chained/foo/1/end'), + ok( my $response = request('http://localhost/chained/foo/1/end'), 'chained + local endpoint; missing last argument' ); is( $response->header('X-Catalyst-Executed'), $expected, 'Executed actions' ); @@ -112,7 +112,7 @@ sub run_tests { my $expected = join( ", ", @expected ); - ok( my $response = request('http://localhost/chained/foo2/10/20/end2/15/25'), + ok( my $response = request('http://localhost/chained/foo2/10/20/end2/15/25'), 'chained + local (2 args each)' ); is( $response->header('X-Catalyst-Executed'), $expected, 'Executed actions' ); @@ -407,7 +407,7 @@ sub run_tests { } # - # This is for testing if the arguments got passed to the actions + # This is for testing if the arguments got passed to the actions # correctly. # { @@ -1037,8 +1037,8 @@ sub run_tests { # With args given, run "all" ok( $response = request('http://localhost/argsorder/X'), 'Correct arg order ran' ); - is( $response->header('X-Catalyst-Executed'), - join(", ", + is( $response->header('X-Catalyst-Executed'), + join(", ", qw[ TestApp::Controller::Action::Chained->begin TestApp::Controller::Action::Chained::ArgsOrder->base @@ -1047,7 +1047,7 @@ sub run_tests { ]) ); is( $response->content, 'base; ; all; X', 'Content OK' ); - + } # @@ -1088,11 +1088,11 @@ sub run_tests { is( $response->header('X-Catalyst-Executed'), $expected, 'Executed actions' ); } - + # # */search # doc/* - # + # # request for doc/search should end up in doc/* { my @expected = qw[