summary refs log tree commit diff
path: root/t/01_basic.t
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-12-04 09:52:26 +0100
committerfranck cuny <franck@lumberjaph.net>2009-12-04 09:52:26 +0100
commitb85f601bdcfc50fd6223048f3c07ba29cbd56346 (patch)
treeea60d77c6ca034f60e10988d21bc851fbc55de1f /t/01_basic.t
parentadd a catalyst app to tests (diff)
downloadmoosex-net-api-b85f601bdcfc50fd6223048f3c07ba29cbd56346.tar.gz
small updates to tests
Diffstat (limited to '')
-rw-r--r--t/01_basic.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/01_basic.t b/t/01_basic.t
index 9c108d2..471f3dd 100644
--- a/t/01_basic.t
+++ b/t/01_basic.t
@@ -29,4 +29,7 @@ throws_ok {
 }
 qr/foo is not declared as a param/, "... check declared params";
 
+ok my @methods = $obj->meta->local_api_methods(), '... get api methods';
+is scalar @methods, 3, '... got 3 methods in our API';
+
 done_testing;