Make this test a lil more specific
This commit is contained in:
parent
c9ffdd4760
commit
24102e1c47
3
t/sign.t
3
t/sign.t
|
@ -40,6 +40,7 @@ $t->post_ok('/sign', form => \%invalid_form)->status_is(200)
|
|||
->content_like(qr/URL does not appear to be/);
|
||||
|
||||
# Spam test
|
||||
$t->post_ok('/sign', form => \%spam_form)->status_is(403);
|
||||
$t->post_ok('/sign', form => \%spam_form)->status_is(403)
|
||||
->text_is(p => 'This message was flagged as spam');
|
||||
|
||||
done_testing();
|
||||
|
|
Loading…
Reference in a new issue