aboutsummaryrefslogtreecommitdiffstats
path: root/test/caldav/sax
diff options
context:
space:
mode:
authorKevin Grandon <kevingrandon@yahoo.com>2013-01-28 10:46:21 -0800
committerKevin Grandon <kevingrandon@yahoo.com>2013-01-28 10:46:21 -0800
commitee5ae7a9c6ca0ce6136e9b97d4388a1434467b8b (patch)
tree9e455654fbfec694de58cf5477ce4ebaa91100fe /test/caldav/sax
parent75c6e99f3d3ff16cc6f5dc26b7bf1dbbb4b3f648 (diff)
parentcfbc4beca74e7baae5c1cd993e18aa92857291c7 (diff)
downloadjsCalDAV-ee5ae7a9c6ca0ce6136e9b97d4388a1434467b8b.tar.gz
Merge pull request #10 from mozilla-b2g/empty-propstat
Handle empty propstat by sending false
Diffstat (limited to 'test/caldav/sax')
-rw-r--r--test/caldav/sax/dav_response_test.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/caldav/sax/dav_response_test.js b/test/caldav/sax/dav_response_test.js
index 3825043..dd2ecdd 100644
--- a/test/caldav/sax/dav_response_test.js
+++ b/test/caldav/sax/dav_response_test.js
@@ -83,8 +83,9 @@ suite('caldav/sax/dav_response', function() {
});
expected = {
- '/calendar/user/': {
+ '/calendar/fake/': false,
+ '/calendar/user/': {
'principal-URL': {
status: '200',
value: {
@@ -135,7 +136,7 @@ suite('caldav/sax/dav_response', function() {
'/calendar/user/',
expected['/calendar/user/']
],
- response[0],
+ response[1],
'/calendar/user/ response'
);
@@ -144,7 +145,7 @@ suite('caldav/sax/dav_response', function() {
'/calendar/other',
expected['/calendar/other']
],
- response[1],
+ response[2],
'/calendar/other/ response'
);