From: Matt S Trout Date: Tue, 31 Jul 2012 20:59:25 +0000 (+0000) Subject: skeleton PSGI response test X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b8661586c766225ba4e65a625f268b7348078523;p=scpubgit%2FApp-SCS.git skeleton PSGI response test --- diff --git a/t/02simple.t b/t/02simple.t index 8d57fcb..e0a8ec8 100644 --- a/t/02simple.t +++ b/t/02simple.t @@ -47,4 +47,9 @@ like( 'Page data interpolated' ); +my $res = $simple1->_psgi_response; + +is(ref($res),'ARRAY','PSGI response'); +is($res->[0],200,'200 OK'); + done_testing;