From: Hans Dieter Pearcey Date: Thu, 25 Jun 2009 23:08:02 +0000 (-0400) Subject: traitS not trait X-Git-Tag: 0.89_02~122 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fe853e2058f6746c4d65192d7ef22bb81ab04a40;p=gitmo%2FMoose.git traitS not trait --- diff --git a/t/070_attribute_helpers/100_collection_with_roles.t b/t/070_attribute_helpers/100_collection_with_roles.t index 4f121c1..93b05cf 100644 --- a/t/070_attribute_helpers/100_collection_with_roles.t +++ b/t/070_attribute_helpers/100_collection_with_roles.t @@ -51,7 +51,7 @@ use Moose::AttributeHelpers; with 'Subject'; has count => ( - trait => [ 'Counter' ], + traits => [ 'Counter' ], is => 'ro', isa => 'Int', default => 0, @@ -61,7 +61,7 @@ has count => ( }, ); -after 'inc_counter', 'dec_counter' => sub { +after qw(inc_counter dec_counter) => sub { my ($self) = @_; $self->notify(); };