aboutsummaryrefslogtreecommitdiffstats
path: root/test/caldav
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-07-06 09:02:58 -0700
committerJames Lal <james@lightsofapollo.com>2012-07-06 09:02:58 -0700
commitbe1e5c9f50bea5e820da048c0f4d4f5810a86281 (patch)
tree68fa8975aaf62b28549be42c99b65d0ebaf415b7 /test/caldav
parentcb10a247cfc91511cfc0e31bfcbb1d6f7d178529 (diff)
downloadjsCalDAV-be1e5c9f50bea5e820da048c0f4d4f5810a86281.tar.gz
Add content type
Diffstat (limited to 'test/caldav')
-rw-r--r--test/caldav/request/abstract_test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/caldav/request/abstract_test.js b/test/caldav/request/abstract_test.js
index b63c355..6d74320 100644
--- a/test/caldav/request/abstract_test.js
+++ b/test/caldav/request/abstract_test.js
@@ -40,6 +40,7 @@ suite('caldav/request/abstract.js', function() {
assert.equal(subject.xhr.url, url);
assert.equal(subject.configOpt, options.configOpt);
assert.instanceOf(subject.sax, SAX);
+ assert.equal(subject.xhr.headers['Content-Type'], 'text/xml');
});
test('xhr password options', function() {