X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Flive_component_controller_action_default.t;h=95abd93198fb6c9e14c697976991e5b12dbc99ab;hb=4e93cdb6d9403718baff430bc1bdc3245aa5236f;hp=6e809e79199bbce1cbb5e046e716a642b6069615;hpb=9af4ee013b23e7241d4664ea39952fa3b20f4b7f;p=catagits%2FCatalyst-Runtime.git 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/' ); - } + } }