7 use lib "$FindBin::Bin/../../../lib";
9 use Test::More tests => 16;
10 use Catalyst::Test 'TestApp';
19 ok( my $response = request('http://localhost/action/multipath/multipath'),
21 ok( $response->is_success, 'Response Successful 2xx' );
22 is( $response->content_type, 'text/plain', 'Response Content-Type' );
23 is( $response->content, $content, 'Content is a stream' );
28 ok( my $response = request('http://localhost/multipath'), 'Request' );
29 ok( $response->is_success, 'Response Successful 2xx' );
30 is( $response->content_type, 'text/plain', 'Response Content-Type' );
31 is( $response->content, $content, 'Content is a stream' );
36 ok( my $response = request('http://localhost/multipath1'), 'Request' );
37 ok( $response->is_success, 'Response Successful 2xx' );
38 is( $response->content_type, 'text/plain', 'Response Content-Type' );
39 is( $response->content, $content, 'Content is a stream' );
44 ok( my $response = request('http://localhost/action/multipath/multipath2'),
46 ok( $response->is_success, 'Response Successful 2xx' );
47 is( $response->content_type, 'text/plain', 'Response Content-Type' );
48 is( $response->content, $content, 'Content is a stream' );