X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flive_catalyst_test.t;h=82485276d4f23e092eaef5f176c796e5311d834f;hp=e7f8df91ff144b81d734fc534ce5610c11c76f68;hb=11d52bbdb4fccbe1678d869494acb9d43ae83c99;hpb=d003ff83ac25ab0af3988de66867f73af54ff631 diff --git a/t/live_catalyst_test.t b/t/live_catalyst_test.t index e7f8df9..8248527 100644 --- a/t/live_catalyst_test.t +++ b/t/live_catalyst_test.t @@ -50,5 +50,10 @@ my $req = '/dump/request'; is($response, 'that', 'body param overridden'); } +{ + my $response = request( POST( '/bodyparams/no_params' ) )->content; + is($response, 'HASH', 'empty body param is hashref'); +} + done_testing;