From: ewilhelm Date: Sat, 5 Aug 2006 21:52:21 +0000 (+0000) Subject: t/001_basic.t - fix # of tests, has needs an is => 'rw' X-Git-Tag: 0_01~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c5fc62425bdff217fd1860d24eb42f637217cd44;p=gitmo%2FMoose-Policy.git t/001_basic.t - fix # of tests, has needs an is => 'rw' --- diff --git a/t/001_basic.t b/t/001_basic.t index 618b56a..867445b 100644 --- a/t/001_basic.t +++ b/t/001_basic.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 1; +use Test::More tests => 8; BEGIN { use_ok('Moose::Policy'); @@ -43,7 +43,7 @@ BEGIN { use Moose::Policy 'My::Moose::Policy'; use Moose; - has 'bar' => (default => 'Foo::bar'); + has 'bar' => (is => 'rw', default => 'Foo::bar'); } isa_ok(Foo->meta, 'Moose::Meta::Class');