X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F02subreq.t;h=1d2bc8c7a5108d56b5746a73689a0d1c87060692;hb=8fb9227b993ed1cfdb9d9dce41902a3959beeaef;hp=ce90f22edba0f5bf1a66cbb05bf34b4e5a3cb8c9;hpb=3f997cac7397175da708ec362546b055bef09274;p=catagits%2FCatalyst-Plugin-SubRequest.git diff --git a/t/02subreq.t b/t/02subreq.t index ce90f22..1d2bc8c 100644 --- a/t/02subreq.t +++ b/t/02subreq.t @@ -1,6 +1,6 @@ package main; -use Test::More tests => 18; +use Test::More tests => 21; use lib 't/lib'; use Catalyst::Test 'TestApp'; use File::stat; @@ -43,3 +43,9 @@ my $stat = stat($0); is( $response->code, 200, 'OK status code' ); is( $response->content, 'foo33', 'Normal request content', ); } + +{ + ok( my $response = request('/doublesubtest'), 'Double Sub Request' ); + is( $response->code, 200, 'OK status code' ); + is( $response->content, '1531633', 'Normal Double request content', ); #we get 153 right now +}