PostText/t/view.t

15 lines
292 B
Perl
Raw Normal View History

#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use Mojo::File qw{curfile};
use Test::Mojo;
my $script = curfile->dirname->sibling('PostText.pl');
my $t = Test::Mojo->new($script);
2022-08-14 04:30:26 +00:00
$t->get_ok('/view')->status_is(200)->text_like(h2 => qr/View Threads/);
done_testing();