Added basic is server online test.

This commit is contained in:
Paul Dill 2017-01-31 13:53:24 +00:00
parent ba53a035e4
commit 74ccca28e2

10
t/basic.t Normal file
View file

@ -0,0 +1,10 @@
use Test::More;
use Test::Mojo;
use FindBin;
require "$FindBin::Bin/../foodloopserver.pl";
my $t = Test::Mojo->new;
$t->get_ok('/')->status_is(200)->content_like(qr/server/);
done_testing();