Looping and recursion tests plus a fix
[catagits/Catalyst-Runtime.git] / t / live_loop.t
1 #!perl
2
3 use strict;
4 use warnings;
5
6 use FindBin;
7 use lib "$FindBin::Bin/lib";
8
9 use Test::More tests => 3;
10 use Catalyst::Test 'TestApp';
11
12 ok( my $response = request('http://localhost/loop_test'), 'Request' );
13 ok( $response->is_success, 'Response Successful 2xx' );
14 ok( $response->header('X-Class-Forward-Test-Method'), 'Loop OK' );