Composite now implemented.
[gitmo/MooseX-AttributeHelpers.git] / t / 011_counter_with_defaults.t
index 37ed3bc..6de0470 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 14;
+use Test::More tests => 13;
 
 BEGIN {
     use_ok('MooseX::AttributeHelpers');   
@@ -44,9 +44,7 @@ is($page->counter, 0, '... got the original value');
 my $counter = $page->meta->get_attribute('counter');
 isa_ok($counter, 'MooseX::AttributeHelpers::Counter');
 
-is($counter->helper_type, 'Num', '... got the expected helper type');
-
-is($counter->type_constraint->name, 'Num', '... got the expected default type constraint');
+is($counter->type_constraint->name, 'Int', '... got the expected default type constraint');
 
 is_deeply($counter->provides, { 
     inc   => 'inc_counter',