X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flive_redirect_body.t;h=8b9d62c8615b917b775f72a6edb262897224d3ec;hp=913f0e9fd6338441999b900436d9fc3f46d26929;hb=a0b5065e3dd43fea2ca17f4f2ae7cbe1958057d4;hpb=7af54927870a7c6f89323ac1876d49f92e7841f5 diff --git a/t/live_redirect_body.t b/t/live_redirect_body.t index 913f0e9..8b9d62c 100644 --- a/t/live_redirect_body.t +++ b/t/live_redirect_body.t @@ -40,7 +40,7 @@ use Test::More; is( $response->code, 302, 'Response Code' ); # When the developer sets both the content body and content type, the set content body and content_type should get through. - is( $response->header( 'Content-Type' ), 'text/plain', 'Content Type' ); + like( $response->header( 'Content-Type' ), qr{text/plain}, 'Content Type' ); like( $response->content, qr/kind sir/, 'Content contains content set by the Controller' ); }