From 24102e1c4724e5214e6232241e446360bf76fabc Mon Sep 17 00:00:00 2001 From: swag Date: Fri, 8 Apr 2022 16:01:30 -0400 Subject: [PATCH] Make this test a lil more specific --- t/sign.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/sign.t b/t/sign.t index 4df9a12..6f90c21 100644 --- a/t/sign.t +++ b/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();