summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-10-26 17:18:57 +0200
committerfranck cuny <franck@lumberjaph.net>2010-10-26 17:18:57 +0200
commit2e80f08af395a41abe4d23544d41628a30a5624a (patch)
treeb5d9a762f6ef2afdb96f1f658bda44596f62f9dc
parentadd tests to payload (diff)
downloadnet-http-spore-2e80f08af395a41abe4d23544d41628a30a5624a.tar.gz
add expected_status to top level
-rw-r--r--lib/Net/HTTP/Spore/Role/Description.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Net/HTTP/Spore/Role/Description.pm b/lib/Net/HTTP/Spore/Role/Description.pm
index 213955d..2723fef 100644
--- a/lib/Net/HTTP/Spore/Role/Description.pm
+++ b/lib/Net/HTTP/Spore/Role/Description.pm
@@ -24,4 +24,11 @@ has authentication => (
     predicate => 'has_authentication',
 );
 
+has expected_status => (
+    is      => 'rw',
+    isa     => 'Array',
+    lazy    => 1,
+    default => sub { [] },
+);
+
 1;