8 use Test::More tests => 1;
10 my $autodoc = MooseX::AutoDoc->new;
11 my $spec = $autodoc->_role_info("AutoDocTest::Role::Role2");
14 name => 'AutoDocTest::Role::Role2',
16 methods => [{ name => 'role_2'}],
19 name => 'role_2_attr',
21 description => 'Optional read-write value'
25 is_deeply($target, $spec);