initial import
[catagits/Catalyst-Plugin-ConfigLoader.git] / t / 10-live_auto.t
diff --git a/t/10-live_auto.t b/t/10-live_auto.t
new file mode 100644 (file)
index 0000000..56997e8
--- /dev/null
@@ -0,0 +1,14 @@
+use strict;\r
+use warnings;\r
+\r
+use FindBin;\r
+use lib "$FindBin::Bin/lib";\r
+\r
+use Test::More tests => 2;\r
+\r
+use Catalyst::Test 'TestApp';\r
+\r
+{\r
+    ok( my $response = request('http://localhost/config/'), 'request ok' );\r
+    is( $response->content, 'foo', 'config ok' );\r
+}\r