diff options
author | James Lal <james@lightsofapollo.com> | 2012-07-06 09:02:58 -0700 |
---|---|---|
committer | James Lal <james@lightsofapollo.com> | 2012-07-06 09:02:58 -0700 |
commit | be1e5c9f50bea5e820da048c0f4d4f5810a86281 (patch) | |
tree | 68fa8975aaf62b28549be42c99b65d0ebaf415b7 /test | |
parent | cb10a247cfc91511cfc0e31bfcbb1d6f7d178529 (diff) | |
download | jsCalDAV-be1e5c9f50bea5e820da048c0f4d4f5810a86281.tar.gz |
Add content type
Diffstat (limited to 'test')
-rw-r--r-- | test/caldav/request/abstract_test.js | 1 |
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() { |