Use get_all_attributes instead of the deprecated compute_all_applicable_attributes.
[gitmo/MooseX-Emulate-Class-Accessor-Fast.git] / 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');