projects
/
gitmo/MooseX-Role-Parameterized.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7623a65
)
Test fix
Shawn M Moore [Tue, 25 Nov 2008 06:24:23 +0000 (06:24 +0000)]
t/002-role-block.t
patch
|
blob
|
blame
|
history
diff --git
a/t/002-role-block.t
b/t/002-role-block.t
index
9c9639d
..
ee67c15
100644
(file)
--- a/
t/002-role-block.t
+++ b/
t/002-role-block.t
@@
-47,4
+47,4
@@
is($age_attr->{default}, 7, "role's age attribute has the right default");
my $birthday_method = $role->get_method('birthday');
is($birthday_method->name, 'birthday', "method name");
-is($birthday_method->package_name, 'MyPerson', "package name");
+is($birthday_method->package_name, $role->name, "package name");