forked from .cyb/cyberman
16 lines
300 B
Perl
16 lines
300 B
Perl
use strict;
|
|
use warnings;
|
|
|
|
use cyberman;
|
|
use Test::More tests => 2;
|
|
use Plack::Test;
|
|
use HTTP::Request::Common;
|
|
|
|
my $app = cyberman->to_app;
|
|
is( ref $app, 'CODE', 'Got app' );
|
|
|
|
my $test = Plack::Test->create($app);
|
|
my $res = $test->request( GET '/' );
|
|
|
|
ok( $res->is_success, '[GET /] successful' );
|