update method/attribute parsing
[gitmo/MooseX-AutoDoc.git] / t / 104-class.t
index b87a4dd..eee9de7 100644 (file)
@@ -8,7 +8,7 @@ use lib "$Bin/lib";
 use Test::More tests => 1;
 
 my $autodoc = MooseX::AutoDoc->new;
-my $spec = $autodoc->class_info("AutoDocTest5");
+my $spec = $autodoc->_package_info("AutoDocTest5");
 
 my $target = {
               name => 'AutoDocTest5',
@@ -18,4 +18,4 @@ my $target = {
               attributes => [],
               };
 
-is_deeply($target, $spec);
+is_deeply($spec, $target);