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_go.t;h=60f8bb8b94dce92006ce158f72e5416af0c8487c;hp=9966a94d7c4f91a97e71cdfe26cfaf36567b693a;hb=7064f69b1dfb59d1f3bad647b2097d0320acce8a;hpb=0f0d5870f79757617666432d22312e2823c1e1af diff --git a/t/aggregate/live_component_controller_action_go.t b/t/aggregate/live_component_controller_action_go.t index 9966a94..60f8bb8 100644 --- a/t/aggregate/live_component_controller_action_go.t +++ b/t/aggregate/live_component_controller_action_go.t @@ -1,5 +1,3 @@ -#!perl - use strict; use warnings; @@ -43,7 +41,7 @@ sub run_tests { TestApp::Controller::Action::Go->four TestApp::Controller::Action::Go->five TestApp::View::Dump::Request->process - TestApp->end + TestApp::Controller::Root->end ]; @expected = map { /Action/ ? (_begin($_), $_) : ($_) } @expected; @@ -74,7 +72,7 @@ sub run_tests { my @expected = qw[ TestApp::Controller::Action::Go->go_die TestApp::Controller::Action::Go->args - TestApp->end + TestApp::Controller::Root->end ]; @expected = map { /Action/ ? (_begin($_), $_) : ($_) } @expected; @@ -165,7 +163,7 @@ sub run_tests { TestApp::Controller::Action::Go->four TestApp::Controller::Action::Go->five TestApp::View::Dump::Request->process - TestApp->end + TestApp::Controller::Root->end ]; @expected = map { /Action/ ? (_begin($_), $_) : ($_) } @expected; @@ -200,7 +198,7 @@ sub run_tests { TestApp::Controller::Action::Go->four TestApp::Controller::Action::Go->five TestApp::View::Dump::Request->process - TestApp->end + TestApp::Controller::Root->end ]; @expected = map { /Action/ ? (_begin($_), $_) : ($_) } @expected; @@ -262,7 +260,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, 'arg1, arg2; captureme', 'Content OK' ); + is( $response->content, 'captureme; arg1, arg2', 'Content OK' ); } }