PostText/t/thread.t

13 lines
283 B
Perl
Raw Normal View History

#!/usr/bin/env perl
2022-10-01 18:00:23 -04:00
use Mojo::Base -strict;
use Test::More;
use Test::Mojo;
2022-10-01 18:00:23 -04:00
my $t = Test::Mojo->new('PostText');
2022-09-21 00:27:16 -04:00
$t->get_ok('/thread/1' )->status_is(200)->text_like(h2 => qr/Thread #1/);
$t->get_ok('/thread/1/1')->status_is(200)->text_like(h2 => qr/Thread #1/);
done_testing();