Static::Simple 0.09, ignore common template file extensions, ignore_extensions/ignore...
[catagits/Catalyst-Plugin-Static-Simple.git] / t / 08subreq.t
CommitLineData
82239955 1#!perl\r
2\r
3use strict;\r
4use warnings;\r
5\r
6use FindBin;\r
7use lib "$FindBin::Bin/lib";\r
8\r
9use Test::More tests => 2;\r
10use Catalyst::Test 'TestApp';\r
11\r
12SKIP:\r
13{\r
8cc672a2 14 #unless ( TestApp->isa('Catalyst::Plugin::SubRequest') ) {\r
15 #skip "Install the SubRequest plugin for these tests", 2;\r
16 #}\r
17 \r
18 # skip this for now, until patched SubRequest is released\r
19 skip "Awaiting patched SubRequest release", 2;\r
82239955 20\r
21 ok( my $res = request('http://localhost/subtest'), 'Request' );\r
22 is( $res->content, 'subtest2 ok', 'SubRequest ok' );\r
23}\r