Change Catalsyt _parse_attrs so that when sub attr handlers:
[catagits/Catalyst-Runtime.git] / t / aggregate / live_loop.t
CommitLineData
1627551a 1#!perl
2
3use strict;
4use warnings;
5
6use FindBin;
42da66a9 7use lib "$FindBin::Bin/../lib";
1627551a 8
9use Test::More tests => 3;
10use Catalyst::Test 'TestApp';
11
c4c4dd19 12SKIP:
13{
14 # Net::HTTP::Methods crashes when talking to a remote server because this
15 # test causes a very long header line to be sent
16 if ( $ENV{CATALYST_SERVER} ) {
17 skip 'Using remote server', 3;
18 }
19
20 ok( my $response = request('http://localhost/loop_test'), 'Request' );
21 ok( $response->is_success, 'Response Successful 2xx' );
22 ok( $response->header('X-Class-Forward-Test-Method'), 'Loop OK' );
23}