PostText/t/page.t

14 lines
325 B
Perl
Raw Normal View History

2023-04-26 02:28:11 +00: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/);
$t->get_ok('/feeds')->status_is(200)->text_like(h2 => qr/Feeds/);
2023-04-26 02:28:11 +00:00
done_testing;