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_index_or_default.t;fp=t%2Faggregate%2Flive_component_controller_action_named_index.t;h=d385add9d8c4bc2add14dc9059cc431a65dccec2;hp=393e0300cd6bec3a2a3491f7f2cf765bec87a2d1;hb=05b47f2e6357bc7f1622e6b2cf730ad5bbeb993f;hpb=7b442de55a57592a0a9f09db2e85b135bb0c123f diff --git a/t/aggregate/live_component_controller_action_named_index.t b/t/aggregate/live_component_controller_action_index_or_default.t similarity index 61% rename from t/aggregate/live_component_controller_action_named_index.t rename to t/aggregate/live_component_controller_action_index_or_default.t index 393e030..d385add 100644 --- a/t/aggregate/live_component_controller_action_named_index.t +++ b/t/aggregate/live_component_controller_action_index_or_default.t @@ -10,9 +10,9 @@ our $iters; BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 1; } -use Test::More tests => 1*$iters; +use Test::More tests => 3*$iters; -use Catalyst::Test 'TestAppIndexActionName'; +use Catalyst::Test 'TestAppIndexDefault'; if ( $ENV{CAT_BENCHMARK} ) { require Benchmark; @@ -26,4 +26,7 @@ else { sub run_tests { is(get('/indexchained'), 'index_chained', ':Chained overrides index'); + is(get('/indexprivate'), 'index_private', 'index : Private still works'); + is(get('/defaultandpath/path_one_arg'), 'path_one_arg', + 'Path overrides default'); }