X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flive_priorities.t;h=785ae5db71388311e25738ff4cf86af25be7be06;hb=141459fa3fc9852fd6f05138caddb410bbe2949c;hp=624aea29aadce683873571b0dcfc37f76a3d04b1;hpb=6ea96b03dee1a599ee970ae23b84fd2757a5b3da;p=catagits%2FCatalyst-Runtime.git diff --git a/t/live_priorities.t b/t/live_priorities.t index 624aea2..785ae5d 100644 --- a/t/live_priorities.t +++ b/t/live_priorities.t @@ -6,7 +6,7 @@ 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; @@ -29,6 +29,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 ) {