projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb1cc40
)
check for SLICE in object
author
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Sat, 11 Feb 2012 19:18:16 +0000
(20:18 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Sat, 11 Feb 2012 19:18:16 +0000
(20:18 +0100)
t/API.t
patch
|
blob
|
history
diff --git
a/t/API.t
b/t/API.t
index
7a22ef8
..
74a2b55
100755
(executable)
--- a/
t/API.t
+++ b/
t/API.t
@@
-2,7
+2,7
@@
use strict;
use warnings;
-use Test::More tests => 2
5
;
+use Test::More tests => 2
6
;
use Data::Dump qw(dump);
use lib 'lib';
@@
-11,6
+11,8
@@
use_ok 'CloudStore::API';
ok my $o = CloudStore::API->new('s1'), 'new';
+ok exists $o->{SLICE}, 'SLICE';
+
cmp_ok $o->create_user('md5@example.com','md5sum',0), '==', 2000, 'create_user md5';
ok my $info = $o->user_info( 'md5' ), 'user_info';