more refactoring to roles
[gitmo/MooseX-MetaDescription.git] / t / 001_basic.t
index 4fcfb5d..df22013 100644 (file)
@@ -43,13 +43,13 @@ BEGIN {
 # check the meta-desc
 
 my $foo_class = Foo->meta;
-is($foo_class->metadescription->class, $foo_class, '... got the circular ref');
+is($foo_class->metadescription->descriptor, $foo_class, '... got the circular ref');
 
 my $bar_attr = Foo->meta->get_attribute('bar');
-is($bar_attr->metadescription->attribute, $bar_attr, '... got the circular ref');
+is($bar_attr->metadescription->descriptor, $bar_attr, '... got the circular ref');
 
 my $baz_attr = Foo->meta->get_attribute('baz');
-is($baz_attr->metadescription->attribute, $baz_attr, '... got the circular ref');
+is($baz_attr->metadescription->descriptor, $baz_attr, '... got the circular ref');
 
 # check the actual descs