X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F08-role-composition.t;h=44e9af2ad1235fb2ff8c5fdc1987332600f51842;hb=289b346600541ae484790dd7d36a704edcac1945;hp=81eeb4415fd1352a18e86d835de2a2dfa8587aa9;hpb=4293d02612f63c83ef8ba27ade067f81cb34d0c6;p=gitmo%2FMooseX-ClassAttribute.git diff --git a/t/08-role-composition.t b/t/08-role-composition.t index 81eeb44..44e9af2 100644 --- a/t/08-role-composition.t +++ b/t/08-role-composition.t @@ -28,9 +28,9 @@ use Test::More; with( 'Role2', 'Role' ); } -{ - local $TODO = 'Class attributes are lost during role composition'; - can_ok( 'Bar', 'CA', ); -} +ok( + Bar->can('CA'), + 'Class attributes are preserved during role composition' +); done_testing();