From 796fcc631327a6c08a470a8fef5797e1b2c7952a Mon Sep 17 00:00:00 2001 From: franck cuny Date: Thu, 14 Oct 2010 14:06:39 +0200 Subject: params is an HashRef now --- t/spore-method/base.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/spore-method/base.t') diff --git a/t/spore-method/base.t b/t/spore-method/base.t index 5010c38..5f9c440 100644 --- a/t/spore-method/base.t +++ b/t/spore-method/base.t @@ -31,7 +31,7 @@ ok $method = Net::HTTP::Spore::Meta::Method->wrap( package_name => 'test::api', method => 'GET', path => '/user/', - params => [qw/name id street/], + params => { optional => [qw/name id street/] }, required => [qw/name id/], ); -- cgit v1.2.3