summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-10-14 14:06:39 +0200
committerfranck cuny <franck@lumberjaph.net>2010-10-14 14:06:39 +0200
commit796fcc631327a6c08a470a8fef5797e1b2c7952a (patch)
treea463121e8799dd3e33835fdf361fe7836b9ab073
parentnew spec (diff)
downloadnet-http-spore-796fcc631327a6c08a470a8fef5797e1b2c7952a.tar.gz
params is an HashRef now
-rw-r--r--t/spore-method/base.t2
1 files changed, 1 insertions, 1 deletions
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/],
 );