RSS Git Download  Clone
Raw Blame History
use Test::More tests => 2;
use strict;
use warnings;

# the order is important
use DataTables;
use Dancer2::Test apps => ['DataTables'];

route_exists [GET => '/'], 'a route handler is defined for /';
response_status_is ['GET' => '/'], 200, 'response status is 200 for /';