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_chained.t;h=70b539dfcff8291591d8241f95a3425371895a76;hp=74db1f2f327e3f158999da4b10251cac25fe96cd;hb=2c527b9130ee042eaa8e5996f565c75764d18117;hpb=4e392da63f7488684620b312d3dec54af9a94db6 diff --git a/t/aggregate/live_component_controller_action_chained.t b/t/aggregate/live_component_controller_action_chained.t index 74db1f2..70b539d 100644 --- a/t/aggregate/live_component_controller_action_chained.t +++ b/t/aggregate/live_component_controller_action_chained.t @@ -10,7 +10,7 @@ our $iters; BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 1; } -use Test::More tests => 143*$iters; +use Test::More tests => 145*$iters; use Catalyst::Test 'TestApp'; if ( $ENV{CAT_BENCHMARK} ) { @@ -1004,4 +1004,12 @@ sub run_tests { $expected, 'Executed actions' ); } } + + { + ok( my $content = + get('http://localhost/chained/return_arg/foo%2Fbar%3B'), + 'request with URI-encoded arg' ); + # this is the CURRENT behavior + like( $content, qr{foo%2Fbar%3B\z}, 'args NOT decoded' ); + } }