X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=t%2F101-meta-attribute.t;h=7bd36cd81749a5db902c1d3b797606abefad4e53;hp=f32db9dda07134d75bed5dc0e1b2e6580cc1c1be;hb=724c77c0fd7afe685c69dc1abcfc8b1a79eefae3;hpb=d16fe7d79e7f254ed479b58681d716e78b3e8caf diff --git a/t/101-meta-attribute.t b/t/101-meta-attribute.t index f32db9d..7bd36cd 100644 --- a/t/101-meta-attribute.t +++ b/t/101-meta-attribute.t @@ -25,7 +25,7 @@ isa_ok($attr, 'Mouse::Meta::Attribute'); can_ok($attr, qw(name associated_class predicate clearer)); is($attr->name, 'pawn', 'attribute name'); -is($attr->associated_class, 'Class', 'associated_class'); +is($attr->associated_class, Class->meta, 'associated_class'); is($attr->predicate, 'has_pawn', 'predicate'); is($attr->clearer, 'clear_pawn', 'clearer'); ok(!$attr->is_lazy_build, "not lazy_build");