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