diff --git a/t/validate_role/compose.t b/t/validate_role/compose.t index b1e3691..355faab 100644 --- a/t/validate_role/compose.t +++ b/t/validate_role/compose.t @@ -44,11 +44,11 @@ use TAP::SimpleOutput 'counters'; validate_role 'TestRole' => ( -compose => 1, - attributes => [ 'bar' ], - does => [ 'TestRole' ], - does_not => [ 'TestRole::Two' ], - methods => [ qw{ method1 } ], - required_methods => [ qw{ blargh } ], + attributes => [ bar => { -does => ['Array'] } ], + does => [ 'TestRole' ], + does_not => [ 'TestRole::Two' ], + methods => [ qw{ method1 } ], + required_methods => [ qw{ blargh } ], ); done_testing;