Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Yaxel Perez
jio
Commits
6b2cdf90
Commit
6b2cdf90
authored
Jan 08, 2013
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved some comments
parent
8076fd3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test/jiotests.js
test/jiotests.js
+3
-3
No files found.
test/jiotests.js
View file @
6b2cdf90
...
@@ -855,9 +855,9 @@ test ("PutAttachment", function(){
...
@@ -855,9 +855,9 @@ test ("PutAttachment", function(){
o
.
jio
.
putAttachment
({},
o
.
f
);
o
.
jio
.
putAttachment
({},
o
.
f
);
o
.
tick
(
o
);
o
.
tick
(
o
);
// putAttachment without att
m
t id
// putAttachment without att
achmen
t id
// error 22 -> attachment id required
// error 22 -> attachment id required
o
.
spy
(
o
,
"
status
"
,
22
,
"
PutAttachment without att
m
t id
"
);
o
.
spy
(
o
,
"
status
"
,
22
,
"
PutAttachment without att
achmen
t id
"
);
o
.
jio
.
putAttachment
({
"
id
"
:
"
putattmt1
"
},
o
.
f
);
o
.
jio
.
putAttachment
({
"
id
"
:
"
putattmt1
"
},
o
.
f
);
o
.
tick
(
o
);
o
.
tick
(
o
);
...
@@ -1026,7 +1026,7 @@ test ("Remove", function(){
...
@@ -1026,7 +1026,7 @@ test ("Remove", function(){
// check document
// check document
ok
(
localstorage
.
getItem
(
"
jio/localstorage/uremove/aremove/remove1
"
)
===
null
,
ok
(
localstorage
.
getItem
(
"
jio/localstorage/uremove/aremove/remove1
"
)
===
null
,
"
Check document
"
);
"
Check document
is removed
"
);
// adding a document + attmt
// adding a document + attmt
localstorage
.
setItem
(
"
jio/localstorage/uremove/aremove/remove1
"
,
{
localstorage
.
setItem
(
"
jio/localstorage/uremove/aremove/remove1
"
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment