stop using Moo as a test package
[catagits/Catalyst-Runtime.git] / t / lib / TestAppWithMeta / Controller / Root.pm
CommitLineData
2664a81b 1package TestAppWithMeta::Controller::Root;
99e429e8 2use base qw/Catalyst::Controller/; # N.B. Do not convert to Moose, so we do not
3 # have a metaclass instance!
2664a81b 4
5__PACKAGE__->config( namespace => '' );
6
7no warnings 'redefine';
8sub meta { 'fnar' }
9use warnings 'redefine';
10
11sub default : Private {
12 my ($self, $c) = @_;
13 $c->res->body($self->meta);
14}
15
161;
17