added failing test for specifying cgi_dir with MyApp->path_to
[catagits/Catalyst-Controller-WrapCGI.git] / t / lib / TestCGIBinRoot3 / Controller / CGIHandler.pm
diff --git a/t/lib/TestCGIBinRoot3/Controller/CGIHandler.pm b/t/lib/TestCGIBinRoot3/Controller/CGIHandler.pm
new file mode 100644 (file)
index 0000000..26d826e
--- /dev/null
@@ -0,0 +1,11 @@
+package TestCGIBinRoot3::Controller::CGIHandler;
+
+use parent 'Catalyst::Controller::CGIBin';
+
+__PACKAGE__->config(
+        cgi_root_path => 'cgi',
+        cgi_dir => TestCGIBinRoot3->path_to('root','cgi'),
+       );
+
+
+1;