6 use lib "$FindBin::Bin/../lib";
8 use Test::More tests => 6;
9 use Catalyst::Test 'TestApp';
11 # test that un-escaped can be feteched.
14 ok( my $response = request('http://localhost/args/params/one/two') );
15 ok( $response->is_success, 'Response Successful 2xx' );
16 is( $response->content, 'onetwo' );
19 # test that request with URL-escaped code works.
21 ok( my $response = request('http://localhost/args/param%73/one/two') );
22 ok( $response->is_success, 'Response Successful 2xx' );
23 is( $response->content, 'onetwo' );