From: Tomas Doran Date: Wed, 11 May 2011 12:33:32 +0000 (+0100) Subject: Move to aggregate X-Git-Tag: 5.90003~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=5dbac379d1a478321ca88d3c94c16d32224f8a60 Move to aggregate --- diff --git a/t/live_redirect_body.t b/t/aggregate/live_redirect_body.t similarity index 98% rename from t/live_redirect_body.t rename to t/aggregate/live_redirect_body.t index b1e5b4e..135cb85 100644 --- a/t/live_redirect_body.t +++ b/t/aggregate/live_redirect_body.t @@ -1,5 +1,5 @@ use FindBin; -use lib "$FindBin::Bin/lib"; +use lib "$FindBin::Bin/../lib"; use Catalyst::Test 'TestApp', {default_host => 'default.com'}; use Catalyst::Request; @@ -38,7 +38,7 @@ use Test::More tests => 12; ok( my $response = request($request), 'Request' ); 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->content, qr/kind sir/, 'Content contains content set by the Controller' );