diff options
author | Brian Phillips <bphillips@cpan.org> | 2012-12-04 22:29:48 -0600 |
---|---|---|
committer | Ash Berlin <ash_github@firemirror.com> | 2013-04-19 14:21:43 +0100 |
commit | f233196fa9155ee4bc46cebd85052bd5cfcaa36d (patch) | |
tree | 8d29bb2d7f161b9c7dfd0d53ab9d6b0fb2ae751c /t | |
parent | clean up types (diff) | |
download | net-http-spore-f233196fa9155ee4bc46cebd85052bd5cfcaa36d.tar.gz |
make sure authentication default on method is lazy
if it's not marked lazy, the predicate has no value (as it's always set at object creation time)
Diffstat (limited to 't')
-rw-r--r-- | t/spore-method/base.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/spore-method/base.t b/t/spore-method/base.t index 1ea5018..61d8608 100644 --- a/t/spore-method/base.t +++ b/t/spore-method/base.t @@ -36,4 +36,6 @@ ok $method = Net::HTTP::Spore::Meta::Method->wrap( required => [qw/name id/], ); +ok !$method->has_authentication, 'authentication not set on method'; + done_testing; |