From: Dave Rolsky Date: Sun, 13 Feb 2011 23:55:51 +0000 (-0600) Subject: Give test a useful name X-Git-Tag: v0.23~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=289b346600541ae484790dd7d36a704edcac1945;p=gitmo%2FMooseX-ClassAttribute.git Give test a useful name --- diff --git a/t/08-role-composition.t b/t/08-role-composition.t index 93ecdd1..44e9af2 100644 --- a/t/08-role-composition.t +++ b/t/08-role-composition.t @@ -28,8 +28,9 @@ use Test::More; with( 'Role2', 'Role' ); } -{ - can_ok( 'Bar', 'CA', ); -} +ok( + Bar->can('CA'), + 'Class attributes are preserved during role composition' +); done_testing();