Subclass the root controller in container tests, nearer working
Tomas Doran [Mon, 6 Feb 2012 23:11:10 +0000 (23:11 +0000)]
t/lib/TestAppCustomContainerNoSugar/Controller/Root.pm [new file with mode: 0644]
t/lib/TestAppCustomContainerSugar/Controller/Root.pm [new file with mode: 0644]

diff --git a/t/lib/TestAppCustomContainerNoSugar/Controller/Root.pm b/t/lib/TestAppCustomContainerNoSugar/Controller/Root.pm
new file mode 100644 (file)
index 0000000..3bcff82
--- /dev/null
@@ -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 (file)
index 0000000..59b864d
--- /dev/null
@@ -0,0 +1,9 @@
+package TestAppCustomContainerSugar::Controller::Root;
+use Moose;
+
+BEGIN { extends 'TestAppCustomContainer::Controller::Root' }
+no Moose;
+
+__PACKAGE__->meta->make_immutable;
+1;
+