die on attributes with no methods and no is => 'bare'
[gitmo/Moose.git] / t / 020_attributes / 009_attribute_inherited_slot_specs.t
index 46963b7..7903f9d 100644 (file)
@@ -42,8 +42,8 @@ use Test::Exception;
     has 'one_last_one' => (is => 'rw', isa => 'Ref');
 
     # this one will work here ....
-    has 'fail' => (isa => 'CodeRef');
-    has 'other_fail';
+    has 'fail' => (isa => 'CodeRef', is => 'bare');
+    has 'other_fail' => (is => 'bare');
 
     package Bar;
     use Moose;