[Catalyst-commits] r9340 - Catalyst-Runtime/5.70/trunk/t/lib
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Thu Feb 19 01:28:59 GMT 2009
Author: rafl
Date: 2009-02-19 01:28:58 +0000 (Thu, 19 Feb 2009)
New Revision: 9340
Modified:
Catalyst-Runtime/5.70/trunk/t/lib/TestApp.pm
Log:
Don't set up the moose controller unless Moose is available.
Modified: Catalyst-Runtime/5.70/trunk/t/lib/TestApp.pm
===================================================================
--- Catalyst-Runtime/5.70/trunk/t/lib/TestApp.pm 2009-02-19 01:28:51 UTC (rev 9339)
+++ Catalyst-Runtime/5.70/trunk/t/lib/TestApp.pm 2009-02-19 01:28:58 UTC (rev 9340)
@@ -14,6 +14,10 @@
TestApp->config( name => 'TestApp', root => '/some/dir' );
+unless (eval 'require Moose; 1') {
+ TestApp->config(setup_components => { except => 'TestApp::Controller::Moose' });
+}
+
TestApp->setup;
sub index : Private {
More information about the Catalyst-commits
mailing list