use FindBin;
-use lib "$FindBin::Bin/lib";
+use lib "$FindBin::Bin/../lib";
use Catalyst::Test 'TestApp', {default_host => 'default.com'};
use Catalyst::Request;
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' );