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_default.t;h=95abd93198fb6c9e14c697976991e5b12dbc99ab;hp=6e809e79199bbce1cbb5e046e716a642b6069615;hb=88e5a8b0c4d28e46b8ba6b6b9567063e57af9063;hpb=9868e0a0023cc8b598d60f150ea367e0056a65f3 diff --git a/t/aggregate/live_component_controller_action_default.t b/t/aggregate/live_component_controller_action_default.t index 6e809e7..95abd93 100644 --- a/t/aggregate/live_component_controller_action_default.t +++ b/t/aggregate/live_component_controller_action_default.t @@ -67,8 +67,8 @@ sub run_tests { ) or fail("EXCEPTION $@ DESERIALIZING " . $response->content); is_deeply( $creq->{arguments}, $expected, 'Arguments ok' ); } - - + + # Test that /foo and /foo/ both do the same thing { my @expected = qw[ @@ -76,19 +76,19 @@ sub run_tests { TestApp::Controller::Action->default TestApp::Controller::Root->end ]; - + my $expected = join( ", ", @expected ); - + ok( my $response = request('http://localhost/action'), 'Request' ); is( $response->header('X-Catalyst-Executed'), - $expected, + $expected, 'Executed actions for /action' ); - + ok( $response = request('http://localhost/action/'), 'Request' ); is( $response->header('X-Catalyst-Executed'), - $expected, + $expected, 'Executed actions for /action/' ); - } + } }