PostText/t/remark.t

15 lines
293 B
Perl
Raw Normal View History

2022-09-03 13:08:03 -04:00
#!/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-09-20 21:16:42 -04:00
$t->get_ok('/remark/1')->status_is(200)->text_like(h2 => qr/Remark #1/);
2022-09-03 13:08:03 -04:00
done_testing();