]> git.ktnx.net Git - lsl.git/blob - t/002_index_route.t
hide the mass-action button on broken streak
[lsl.git] / t / 002_index_route.t
1 use strict;
2 use warnings;
3
4 use App::REST::LazyShoppingList;
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 = App::REST::LazyShoppingList->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' );