blob: 7511236f863935e2a0a7c3877dea719c00a2cc28 [file] [log] [blame]
Nils Diewald5d1ffb42014-05-21 17:45:34 +00001use Mojo::Base -strict;
Nils Diewald034ea702015-01-16 19:41:52 +00002use lib '../lib', 'lib';
Nils Diewald5d1ffb42014-05-21 17:45:34 +00003use Test::More;
4use Test::Mojo;
5
Nils Diewald2fe12e12015-03-06 16:47:06 +00006my $t = Test::Mojo->new('Kalamar');
Nils Diewald996aa552014-12-02 03:26:44 +00007$t->get_ok('/')
8 ->status_is(200)
Nils Diewald034ea702015-01-16 19:41:52 +00009 ->text_is('title', 'KorAP')
Nils Diewald46e6f182015-02-04 15:22:49 +000010 ->text_like('h1 span', qr/Korpusanalyseplattform/i);
Nils Diewald5d1ffb42014-05-21 17:45:34 +000011
12done_testing();