summary refs log tree commit diff
path: root/t/002_index_route.t
blob: 75cfe94d8e630266e8b057c66ef75559d97c4b1a (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 ballet;
use Dancer::Test;

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