Released Static::Simple 0.08 - Added tests for everything except Apache support
[catagits/Catalyst-Plugin-Static-Simple.git] / t / lib / TestApp.pm
diff --git a/t/lib/TestApp.pm b/t/lib/TestApp.pm
new file mode 100644 (file)
index 0000000..ff23ab8
--- /dev/null
@@ -0,0 +1,26 @@
+package TestApp;\r
+\r
+use strict;\r
+use Catalyst;\r
+\r
+our $VERSION = '0.01';\r
+\r
+TestApp->config(\r
+    name => 'TestApp',\r
+);\r
+\r
+TestApp->setup( qw/Static::Simple/ );\r
+\r
+sub incpath_generator {\r
+    my $c = shift;\r
+    \r
+    return [ $c->config->{root} . '/incpath' ];\r
+}\r
+\r
+sub default : Private {\r
+    my ( $self, $c ) = @_;\r
+    \r
+    $c->res->output( 'default' );\r
+}\r
+\r
+1;\r