Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio-main
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
Hardik Juneja
jio-main
Commits
8ef4e6cc
Commit
8ef4e6cc
authored
Jan 18, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webDav Storage ALLDOCS tests updated
parent
42f65d11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
test/jiotests.js
test/jiotests.js
+4
-5
No files found.
test/jiotests.js
View file @
8ef4e6cc
...
...
@@ -158,9 +158,6 @@ getLastJob = function (id) {
generateTools
=
function
(
sinon
)
{
var
o
=
{};
// need to make server requests before activating fakeServer
o
.
davlist
=
getXML
(
'
responsexml/davlist
'
);
o
.
t
=
sinon
;
o
.
server
=
o
.
t
.
sandbox
.
useFakeServer
();
o
.
clock
=
o
.
t
.
sandbox
.
useFakeTimers
();
...
...
@@ -2318,7 +2315,9 @@ test ("Remove", function(){
test
(
"
AllDocs
"
,
function
()
{
var
o
=
generateTools
(
this
);
// need to make server requests before activating fakeServer
var
davlist
=
getXML
(
'
responsexml/davlist
'
),
o
=
generateTools
(
this
);
o
.
jio
=
JIO
.
newJio
({
"
type
"
:
"
dav
"
,
...
...
@@ -2328,7 +2327,7 @@ test ("AllDocs", function () {
});
// get allDocs, no content
o
.
addFakeServerResponse
(
"
PROPFIND
"
,
""
,
200
,
o
.
davlist
);
o
.
addFakeServerResponse
(
"
PROPFIND
"
,
""
,
200
,
davlist
);
o
.
thisShouldBeTheAnswer
=
{
"
rows
"
:
[
{
"
id
"
:
"
alldocs1
"
,
"
key
"
:
"
alldocs1
"
,
"
value
"
:
{}},
...
...
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