added test for root overriding automatic detection.
Marcus Ramberg [Fri, 24 Jun 2005 14:02:18 +0000 (14:02 +0000)]
t/engine/setup/basics.t [new file with mode: 0644]

diff --git a/t/engine/setup/basics.t b/t/engine/setup/basics.t
new file mode 100644 (file)
index 0000000..5a27671
--- /dev/null
@@ -0,0 +1,15 @@
+#!perl
+
+use strict;
+use warnings;
+
+use FindBin;
+use lib "$FindBin::Bin/../../lib";
+
+use Test::More tests => 1;
+use Catalyst::Test 'TestApp';
+
+{
+  # Allow overriding automatic root.
+  is(TestApp->config->{root},'/Users/chansen/src/MyApp/root');
+}