11 lines
258 B
Perl
11 lines
258 B
Perl
|
use Test::More tests => 2;
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
|
||
|
# the order is important
|
||
|
use App::Genregenerator;
|
||
|
use Dancer::Test;
|
||
|
|
||
|
route_exists [GET => '/'], 'a route handler is defined for /';
|
||
|
response_status_is ['GET' => '/'], 200, 'response status is 200 for /';
|