4 use App::REST::LazyShoppingList;
5 use Test::More tests => 2;
7 use HTTP::Request::Common;
8 use Ref::Util qw<is_coderef>;
10 my $app = App::REST::LazyShoppingList->to_app;
11 ok( is_coderef($app), 'Got app' );
13 my $test = Plack::Test->create($app);
14 my $res = $test->request( GET '/' );
16 ok( $res->is_success, '[GET /] successful' );