2023-04-25 22:28:11 -04:00
|
|
|
use Mojo::Base -strict;
|
|
|
|
use Test::More;
|
|
|
|
use Test::Mojo;
|
|
|
|
|
|
|
|
my $t = Test::Mojo->new('PostText');
|
|
|
|
|
|
|
|
$t->get_ok('/about')->status_is(200)->text_like(h2 => qr/About Post::Text/);
|
|
|
|
|
|
|
|
$t->get_ok('/rules')->status_is(200)->text_like(h2 => qr/The Rules/);
|
|
|
|
|
2023-09-25 23:33:23 -04:00
|
|
|
$t->get_ok('/feeds')->status_is(200)->text_like(h2 => qr/Feeds/);
|
|
|
|
|
2024-06-26 01:08:31 -04:00
|
|
|
$t->get_ok('/javascript')->status_is(200)
|
|
|
|
->text_like(h2 => qr/JavaScript License Information/);
|
|
|
|
|
2023-04-25 22:28:11 -04:00
|
|
|
done_testing;
|