X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fclass_traits.t;h=8730822fd21b1e86be58b03db0fa7ddc15eaa12b;hp=1a49b33a37d9696861f74d0624b4e86af9c549fc;hb=53c7cc10e26c965f7502936609c5d1e6a35dc819;hpb=2a8074980f232951ffa0f4ea52a2f195f7a0813f diff --git a/t/class_traits.t b/t/class_traits.t index 1a49b33..8730822 100644 --- a/t/class_traits.t +++ b/t/class_traits.t @@ -49,6 +49,17 @@ BEGIN { sub d { 'd' } } +BEGIN { + package TestApp::Controller::Root; + $INC{'TestApp/Controller/Root.pm'} = __FILE__; + + use Moose; + + BEGIN { extends 'Catalyst::Controller' }; + + sub root :Path('/') {} +} + { package TestApp; $INC{'TestApp.pm'} = __FILE__;