PostText/t/remark.t

12 lines
206 B
Perl
Raw Normal View History

2022-09-03 13:08:03 -04:00
#!/usr/bin/env perl
2022-10-01 18:00:23 -04:00
use Mojo::Base -strict;
2022-09-03 13:08:03 -04:00
use Test::More;
use Test::Mojo;
2022-10-01 18:00:23 -04:00
my $t = Test::Mojo->new('PostText');
2022-09-03 13:08:03 -04:00
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();