t* my version of playonbsd.com data URI git clone git://git.codevoid.de/playonbsd-sdk.git DIR Log DIR Files DIR Refs DIR README --- t002_index_route.t (332B) --- 1 use strict; 2 use warnings; 3 4 use PlayOnBSD; 5 use Test::More tests => 2; 6 use Plack::Test; 7 use HTTP::Request::Common; 8 use Ref::Util qw<is_coderef>; 9 10 my $app = PlayOnBSD->to_app; 11 ok( is_coderef($app), 'Got app' ); 12 13 my $test = Plack::Test->create($app); 14 my $res = $test->request( GET '/' ); 15 16 ok( $res->is_success, '[GET /] successful' );