unmark +x and remove shebangs
[catagits/Catalyst-Runtime.git] / t / path_action_empty_brackets.t
CommitLineData
dd6a9f23 1use strict;
2use warnings;
3
4use FindBin;
5use lib "$FindBin::Bin/lib";
6
43b44b3a 7use Test::More tests => 12;
dd6a9f23 8use Catalyst::Test 'TestPath';
9
10
11{
12 ok( my $response = request('http://localhost/one'), 'Request' );
13 ok( $response->is_success, '"Path" - Response Successful 2xx' );
14 is( $response->content, 'OK', '"Path" - Body okay' );
15}
16{
17 ok( my $response = request('http://localhost/two'), 'Request' );
18 ok( $response->is_success, '"Path()" - Response Successful 2xx' );
19 is( $response->content, 'OK', '"Path()" - Body okay' );
20}
21{
22 ok( my $response = request('http://localhost/three'), 'Request' );
23 ok( $response->is_success, '"Path(\'\')" - Response Successful 2xx' );
24 is( $response->content, 'OK', '"Path(\'\')" - Body okay' );
25}
43b44b3a 26{
27 ok( my $response = request('http://localhost/four'), 'Request' );
28 ok( $response->is_success, '"Path(\'\')" - Response Successful 2xx' );
29 is( $response->content, 'OK', '"Path() Args()" - Body okay' );
88e5a8b0 30}