deprecate non-arrayref enum and duck_type
[gitmo/Moose.git] / t / examples / example_Moose_POOP.t
index 8d6e28a..19c86e0 100644 (file)
@@ -186,7 +186,7 @@ BEGIN {
         => as 'Str'
         => where { DateTime::Format::MySQL->parse_datetime($_) };
 
-    enum 'Status' => qw(draft posted pending archive);
+    enum 'Status' => [qw(draft posted pending archive)];
 
     has 'headline' => (is => 'rw', isa => 'Headline');
     has 'summary'  => (is => 'rw', isa => 'Summary');