PostText/t/redirect_old_path.t
2024-08-14 16:30:55 -04:00

11 lines
207 B
Perl

use Mojo::Base -strict;
use Test::More;
use Test::Mojo;
my $t = Test::Mojo->new('PostText');
$t->get_ok('/thread/post')->status_is(302)
->header_like(Location => qr{human/thread/post});
done_testing;