Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 1 | use Mojo::Base -strict; |
Nils Diewald | 034ea70 | 2015-01-16 19:41:52 +0000 | [diff] [blame] | 2 | use lib '../lib', 'lib'; |
Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 3 | use Test::More; |
| 4 | use Test::Mojo; |
| 5 | |
Nils Diewald | 2fe12e1 | 2015-03-06 16:47:06 +0000 | [diff] [blame] | 6 | my $t = Test::Mojo->new('Kalamar'); |
Nils Diewald | 996aa55 | 2014-12-02 03:26:44 +0000 | [diff] [blame] | 7 | $t->get_ok('/') |
| 8 | ->status_is(200) |
Nils Diewald | 034ea70 | 2015-01-16 19:41:52 +0000 | [diff] [blame] | 9 | ->text_is('title', 'KorAP') |
Nils Diewald | 46e6f18 | 2015-02-04 15:22:49 +0000 | [diff] [blame] | 10 | ->text_like('h1 span', qr/Korpusanalyseplattform/i); |
Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 11 | |
| 12 | done_testing(); |