Scheduler, more tests, almost feature-complete, todo: YAML
[catagits/Catalyst-Plugin-Scheduler.git] / t / lib / PluginTestApp.pm
diff --git a/t/lib/PluginTestApp.pm b/t/lib/PluginTestApp.pm
new file mode 100644 (file)
index 0000000..f077cdb
--- /dev/null
@@ -0,0 +1,25 @@
+package PluginTestApp;
+
+use strict;
+use warnings;
+use Catalyst;
+
+our $VERSION = '0.01';
+
+# reuse the other TestApp's home directory, so we have a place to write
+# the scheduler.state file
+PluginTestApp->config(
+    name => 'PluginTestApp',
+    home => "$FindBin::Bin/lib/TestApp"
+);
+
+PluginTestApp->setup( qw/Scheduler PluginTest/ );
+
+sub default : Private {
+    my ( $self, $c ) = @_;
+    
+    $c->res->output( 'default' );
+}
+
+1;
+