7 use lib "$FindBin::Bin/../../../lib";
9 use Test::More tests => 160;
10 use Catalyst::Test 'TestApp';
23 request('http://localhost/action/multipath/multipath'),
26 ok( $response->is_success, 'Response Successful 2xx' );
27 is( $response->content_type, 'text/plain', 'Response Content-Type' );
28 is( $response->content, $content, 'Content is a stream' );
33 ok( my $response = request('http://localhost/multipath'), 'Request' );
34 ok( $response->is_success, 'Response Successful 2xx' );
35 is( $response->content_type, 'text/plain', 'Response Content-Type' );
36 is( $response->content, $content, 'Content is a stream' );
41 ok( my $response = request('http://localhost/multipath1'), 'Request' );
42 ok( $response->is_success, 'Response Successful 2xx' );
43 is( $response->content_type, 'text/plain', 'Response Content-Type' );
44 is( $response->content, $content, 'Content is a stream' );
51 request('http://localhost/action/multipath/multipath2'),
54 ok( $response->is_success, 'Response Successful 2xx' );
55 is( $response->content_type, 'text/plain', 'Response Content-Type' );
56 is( $response->content, $content, 'Content is a stream' );