From 74ccca28e2e7fcb9a084772dedc2e91cc9c3d312 Mon Sep 17 00:00:00 2001 From: Paul Dill Date: Tue, 31 Jan 2017 13:53:24 +0000 Subject: [PATCH] Added basic is server online test. --- t/basic.t | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 t/basic.t diff --git a/t/basic.t b/t/basic.t new file mode 100644 index 0000000..f6c8676 --- /dev/null +++ b/t/basic.t @@ -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(); \ No newline at end of file