summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-08-01 14:05:58 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-08-01 14:05:58 +0200
commit9c5f23e2635795995eaa465dcee9e2d2d96e9e71 (patch)
treee2e5598aa3613e03d57dc0515eeb6a8fffb724ef
parenta81496648676a2b76295c2e65d20091a67a8ca89 (diff)
add basic test (doesn't do much yet)
-rw-r--r--t/01-basic.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/01-basic.t b/t/01-basic.t
new file mode 100644
index 0000000..7a32d55
--- /dev/null
+++ b/t/01-basic.t
@@ -0,0 +1,10 @@
+use Test::More;
+use Test::Mojo;
+
+use FindBin;
+require "$FindBin::Bin/../index.pl";
+
+my $t = Test::Mojo->new;
+$t->get_ok('/')->status_is(200)->content_like(qr/db-fakedisplay/);
+
+done_testing();