summaryrefslogtreecommitdiff
path: root/t/002_index_route.t
blob: 457d3efd8cb5eac9f45d001f0e9f972293a5c566 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
use Test::More tests => 2;
use strict;
use warnings;

# the order is important
use StarGit;
use Dancer::Test;

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