Moved some code to a shared mixin role so we can apply a role to the role metaclass
[gitmo/MooseX-ClassAttribute.git] / t / 04-with-attribute-helpers.t
diff --git a/t/04-with-attribute-helpers.t b/t/04-with-attribute-helpers.t
deleted file mode 100644 (file)
index 4154b5a..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-use strict;
-use warnings;
-
-use Test::More tests => 2;
-
-{
-    package MyClass;
-
-    use MooseX::ClassAttribute;
-    use MooseX::AttributeHelpers;
-
-    class_has counter =>
-        ( metaclass => 'Counter',
-          is        => 'ro',
-          provides  => { inc => 'inc_counter',
-                       },
-        );
-}
-
-is( MyClass->counter(), 0 );
-
-MyClass->inc_counter();
-is( MyClass->counter(), 1 );