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
Aurélien Vermylen
jio
Commits
dc97f827
Commit
dc97f827
authored
Feb 28, 2014
by
Jonathan Rivalan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s3storage.js update (+tests), now compatible with taskman.js
parent
65e213a7
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
184 additions
and
74 deletions
+184
-74
src/jio.storage/s3storage.js
src/jio.storage/s3storage.js
+178
-70
test/jio.storage/s3storage.tests.js
test/jio.storage/s3storage.tests.js
+6
-4
No files found.
src/jio.storage/s3storage.js
View file @
dc97f827
This diff is collapsed.
Click to expand it.
test/jio.storage/s3storage.tests.js
View file @
dc97f827
...
...
@@ -68,11 +68,13 @@
"
status
"
:
204
,
"
statusText
"
:
"
No Content
"
},
"
Post a new document
"
);
ok
(
/^no_document_id_
[
0-9
]
+$/
.
test
(
uuid
),
"
New document id should look like no_document_id_479658600408584 :
"
+
uuid
);
//ok(/^no_document_id_[0-9]+$/.test(uuid),
//"New document id should look like no_document_id_479658600408584 : " +
//uuid);
//shared.created_document_id = uuid;
ok
(
test_util
.
isUuid
(
uuid
),
"
New document id should look like
"
+
"
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx :
"
+
uuid
);
shared
.
created_document_id
=
uuid
;
}
function
getCreatedDocument
()
{
...
...
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