projects
/
gitmo/MooseX-AttributeHelpers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
more tests and tweaks
[gitmo/MooseX-AttributeHelpers.git]
/
t
/
001_basic_counter.t
diff --git
a/t/001_basic_counter.t
b/t/001_basic_counter.t
index
64cc641
..
5430d44
100644
(file)
--- a/
t/001_basic_counter.t
+++ b/
t/001_basic_counter.t
@@
-28,8
+28,10
@@
BEGIN {
my $page = MyHomePage->new();
isa_ok($page, 'MyHomePage');
-can_ok($page, 'inc_counter');
-can_ok($page, 'dec_counter');
+can_ok($page, $_) for qw[
+ dec_counter
+ inc_counter
+];
is($page->counter, 0, '... got the default value');