11 lines
236 B
Perl
11 lines
236 B
Perl
use Test::More;
|
|
use Mojo::File qw{curfile};
|
|
use Test::Mojo;
|
|
|
|
my $script = curfile->dirname->sibling('hr2.pl');
|
|
my $t = Test::Mojo->new($script);
|
|
|
|
$t->get_ok('/')->status_is(302)->header_like(Location => qr/create/);
|
|
|
|
done_testing;
|