X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F12default.t;h=ed3ca046d83ad8d679bae4eaf986e30dd6fc0ad0;hb=847c44c5526098d439258f5e68b05577d68f63ac;hp=927ad971d0bf09124c776b9815f0d4aaed584b2c;hpb=e05c5e3cc1521a00baae44334d7b119edf2b17d1;p=catagits%2FCatalyst-Runtime.git diff --git a/t/12default.t b/t/12default.t index 927ad97..ed3ca04 100644 --- a/t/12default.t +++ b/t/12default.t @@ -12,7 +12,7 @@ __PACKAGE__->action( package TestApp::C::Foo::Bar; TestApp->action( - '!?default' => sub { + '!default' => sub { my ( $self, $c ) = @_; $c->res->output('yada'); } @@ -24,4 +24,4 @@ use Test::More tests => 2; use Catalyst::Test 'TestApp'; ok( get('/foo') =~ /bar/ ); -ok( get('/foo_bar/foo') =~ /yada/ ); +ok( get('/foo/bar/foo') =~ /yada/ );