projects
/
catagits/Catalyst-Authentication-Store-DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a4523c1
)
Add a test
Tomas Doran [Wed, 1 Sep 2010 21:25:45 +0000 (21:25 +0000)]
t/10-user-autoload.t
patch
|
blob
|
blame
|
history
diff --git
a/t/10-user-autoload.t
b/t/10-user-autoload.t
index
e58c835
..
74b243d
100644
(file)
--- a/
t/10-user-autoload.t
+++ b/
t/10-user-autoload.t
@@
-21,4
+21,6
@@
ok(my $meth = $o->can('exists'), 'can returns true');
is($o->$meth, $message, 'can returns right coderef');
+is($o->can('non_existent_method'), undef, 'can on non existent method returns undef');
+
done_testing;