update method/attribute parsing
[gitmo/MooseX-AutoDoc.git] / t / 101-class.t
index 80aa998..9fbbc1c 100644 (file)
@@ -9,7 +9,7 @@ use lib "$Bin/lib";
 use Test::More tests => 1;
 
 my $autodoc = MooseX::AutoDoc->new;
-my $spec = $autodoc->_class_info("AutoDocTest2");
+my $spec = $autodoc->_package_info("AutoDocTest2");
 
 my $target = {
                name => 'AutoDocTest2',
@@ -23,4 +23,5 @@ my $target = {
                  name => 'attr8',
                 }]
               };
-is_deeply($target, $spec);
+
+is_deeply($spec, $target);