Fix tests
[gitmo/MooseX-MetaDescription.git] / t / 002_custom_description.t
index ad7fec5..ada2272 100644 (file)
@@ -25,18 +25,19 @@ BEGIN {
 
     with 'MooseX::MetaDescription::Meta::Trait';
 
-    has '+metadescription_classname' => (
-       default => 'Foo::Description'
+    has 'metadescription_classname' => (
+        default => 'Foo::Description',
+        is => 'ro',
     );
 
     package Foo::MetaDescription::Attribute;
     use Moose;
 
     extends 'MooseX::MetaDescription::Meta::Attribute';
-       with 'Foo::MetaDescription::Trait';
 
-    has '+metadescription_classname' => (
-       default => 'Foo::Description'
+    has 'metadescription_classname' => (
+        default => 'Foo::Description',
+        is => 'ro',
     );
 }