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',
name => 'attr8',
}]
};
-is_deeply($target, $spec);
+
+is_deeply($spec, $target);