Use get_all_attributes instead of the deprecated compute_all_applicable_attributes.
Florian Ragwitz [Wed, 8 Apr 2009 21:00:39 +0000 (23:00 +0200)]
t/accessors.t

index 04efe4b..3d7d9a7 100644 (file)
@@ -32,7 +32,7 @@ my $class = "Testing::Class::Accessor::Fast";
   $class->mk_accessors(qw( best));
 }
 
-my %attrs = map{$_->name => $_} $class->meta->compute_all_applicable_attributes;
+my %attrs = map{$_->name => $_} $class->meta->get_all_attributes;
 
 #2
 is(keys %attrs, 11, 'Correct number of attributes');