From: Tomas Doran Date: Mon, 6 Feb 2012 23:11:10 +0000 (+0000) Subject: Subclass the root controller in container tests, nearer working X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=b5737253f9c1e73dfed28a4bd3852d8a526a833f Subclass the root controller in container tests, nearer working --- diff --git a/t/lib/TestAppCustomContainerNoSugar/Controller/Root.pm b/t/lib/TestAppCustomContainerNoSugar/Controller/Root.pm new file mode 100644 index 0000000..3bcff82 --- /dev/null +++ b/t/lib/TestAppCustomContainerNoSugar/Controller/Root.pm @@ -0,0 +1,9 @@ +package TestAppCustomContainerNoSugar::Controller::Root; +use Moose; + +BEGIN { extends 'TestAppCustomContainer::Controller::Root' } +no Moose; + +__PACKAGE__->meta->make_immutable; +1; + diff --git a/t/lib/TestAppCustomContainerSugar/Controller/Root.pm b/t/lib/TestAppCustomContainerSugar/Controller/Root.pm new file mode 100644 index 0000000..59b864d --- /dev/null +++ b/t/lib/TestAppCustomContainerSugar/Controller/Root.pm @@ -0,0 +1,9 @@ +package TestAppCustomContainerSugar::Controller::Root; +use Moose; + +BEGIN { extends 'TestAppCustomContainer::Controller::Root' } +no Moose; + +__PACKAGE__->meta->make_immutable; +1; +