X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flive_priorities.t;h=e7260277be14f54129dc0e243ae85091ba2c91d4;hb=26dd6d9f6575fe782e78d6845fff3447e5ba5744;hp=624aea29aadce683873571b0dcfc37f76a3d04b1;hpb=6ea96b03dee1a599ee970ae23b84fd2757a5b3da;p=catagits%2FCatalyst-Runtime.git diff --git a/t/live_priorities.t b/t/live_priorities.t index 624aea2..e726027 100644 --- a/t/live_priorities.t +++ b/t/live_priorities.t @@ -6,9 +6,8 @@ use warnings; use FindBin; use lib "$FindBin::Bin/lib"; -use Test::More tests => 22; +use Test::More tests => 28; use Catalyst::Test 'TestApp'; -use Data::Dumper; local $^W = 0; @@ -29,6 +28,11 @@ my @tests = ( 'index vs. Local', { path => '/loc_vs_index', expect => 'index' }, 'index vs. LocalRegex', { path => '/locre_vs_index', expect => 'index' }, 'index vs. Path', { path => '/path_vs_index', expect => 'index' }, + + 'multimethod zero', { path => '/multimethod', expect => 'zero' }, + 'multimethod one', { path => '/multimethod/1', expect => 'one 1' }, + 'multimethod two', { path => '/multimethod/1/2', + expect => 'two 1 2' }, ); while ( @tests ) {