App-Mxpress-PDF

 view release on metacpan or  search on metacpan

t/002_index_route.t  view on Meta::CPAN

use strict;
use warnings;

use App::Mxpress::PDF;
use Test::More tests => 2;
use Plack::Test;
use HTTP::Request::Common;
use Ref::Util qw<is_coderef>;

my $app = App::Mxpress::PDF->to_app;
ok( is_coderef($app), 'Got app' );

my $test = Plack::Test->create($app);
my $res  = $test->request( GET '/' );

ok( $res->is_success, '[GET /] successful' );

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.408 second using v1.00-cache-2.02-grep-82fe00e-cpan-503542c4f10 )