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=550464108eada19dba470ec5d17fc849399fdab0;hpb=b498099290e08e2dbd09561248e7deaed58fa3bf 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' ); }