die on attributes with no methods and no is => 'bare'
[gitmo/Moose.git] / t / 020_attributes / 007_attribute_custom_metaclass.t
index de3cb5b..25c3d1b 100644 (file)
@@ -76,7 +76,7 @@ use Test::Exception;
     } '... the attribute metaclass alias worked correctly';
 
     ::lives_ok {
-        has 'bar' => (metaclass => 'Bar');
+        has 'bar' => (metaclass => 'Bar', is => 'bare');
     } '... the attribute metaclass alias worked correctly';
 }