X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Faggregate%2Flive_component_controller_action_local.t;h=24fc2e4eee52e50d8083181d0d11d2324d7a873a;hp=ae98831acfdf8e31b5b9ec3e7781ec04de82272d;hb=2c527b9130ee042eaa8e5996f565c75764d18117;hpb=4e392da63f7488684620b312d3dec54af9a94db6 diff --git a/t/aggregate/live_component_controller_action_local.t b/t/aggregate/live_component_controller_action_local.t index ae98831..24fc2e4 100644 --- a/t/aggregate/live_component_controller_action_local.t +++ b/t/aggregate/live_component_controller_action_local.t @@ -10,7 +10,7 @@ our $iters; BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 1; } -use Test::More tests => 32*$iters; +use Test::More tests => 34*$iters; use Catalyst::Test 'TestApp'; if ( $ENV{CAT_BENCHMARK} ) { @@ -135,4 +135,11 @@ sub run_tests { "Parameters don't split on %2F" ); } + + { + ok( my $content = get('http://locahost/action/local/five/foo%2Fbar%3B'), + 'request with URI-encoded arg'); + # this is the CURRENT behavior + like( $content, qr{'foo/bar;'}, 'args for Local actions URI-decoded' ); + } }