MANIFEST, Policy POD changes, other misc stuff
[gitmo/Moose-Policy.git] / t / 001_basic.t
index aab7cdf..0b50253 100644 (file)
@@ -17,7 +17,7 @@ BEGIN {
 
     # this method (mostly stolen from M::M::Attribute) just rebuilds the
     # options so anything with 'is' gets PBP accessors
-    sub _process_options {
+    before '_process_options' => sub {
         my ($class, $name, $options) = @_;
         if (exists $options->{is}) {
             if ($options->{is} eq 'ro') {