From f233196fa9155ee4bc46cebd85052bd5cfcaa36d Mon Sep 17 00:00:00 2001 From: Brian Phillips Date: Tue, 4 Dec 2012 22:29:48 -0600 Subject: 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) --- t/spore-method/base.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 't/spore-method/base.t') 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; -- cgit v1.2.3