X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fpath_action_empty_brackets.t;h=2e499bf78a169a2e4646b77a158e103607cb7fdc;hp=415f1216a9b2772aee47fad6c18c7c07a729e48f;hb=88e5a8b0c4d28e46b8ba6b6b9567063e57af9063;hpb=dd6a9f23fda9c6520be5021f7fb51f4fb345c8c4 diff --git a/t/path_action_empty_brackets.t b/t/path_action_empty_brackets.t index 415f121..2e499bf 100644 --- a/t/path_action_empty_brackets.t +++ b/t/path_action_empty_brackets.t @@ -4,7 +4,7 @@ use warnings; use FindBin; use lib "$FindBin::Bin/lib"; -use Test::More tests => 9; +use Test::More tests => 12; use Catalyst::Test 'TestPath'; @@ -23,5 +23,8 @@ use Catalyst::Test 'TestPath'; ok( $response->is_success, '"Path(\'\')" - Response Successful 2xx' ); is( $response->content, 'OK', '"Path(\'\')" - Body okay' ); } - - +{ + ok( my $response = request('http://localhost/four'), 'Request' ); + ok( $response->is_success, '"Path(\'\')" - Response Successful 2xx' ); + is( $response->content, 'OK', '"Path() Args()" - Body okay' ); +}