Fix test warnings.
[gitmo/Moose-Policy.git] / t / 003_saidso.t
index e1ee7d5..1952e41 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More 'no_plan';
+use Test::More tests => 22;
 
 BEGIN {
     use_ok('Moose::Policy');
@@ -54,7 +54,7 @@ my $oops;
 
     has 'bar' => (default => 'Foo::bar');
     has 'baz' => (default => 'Foo::baz');
-    has 'bop' => (is => 'no', default => 'woot');
+    has 'bop' => (is => 'bare', default => 'woot');
     eval { has 'oops' => (is => 'thbbbt'); };
     $oops = $@;
 }