stop using Moo as a test package
[catagits/Catalyst-Runtime.git] / t / aggregate / live_engine_request_escaped_path.t
CommitLineData
16918b4d 1use strict;
2use warnings;
3
4use FindBin;
5use lib "$FindBin::Bin/../lib";
6
7use Test::More tests => 6;
8use Catalyst::Test 'TestApp';
9
10# test that un-escaped can be feteched.
11{
12
13 ok( my $response = request('http://localhost/args/params/one/two') );
14 ok( $response->is_success, 'Response Successful 2xx' );
15 is( $response->content, 'onetwo' );
16}
17
18# test that request with URL-escaped code works.
19{
4ee03d72 20 ok( my $response = request('http://localhost/args/param%73/one/two') );
16918b4d 21 ok( $response->is_success, 'Response Successful 2xx' );
22 is( $response->content, 'onetwo' );
23}
24