aboutsummaryrefslogtreecommitdiffstats
path: root/test/caldav/request
diff options
context:
space:
mode:
authorGareth Aye <gareth.aye@gmail.com>2013-04-18 10:48:34 -0700
committerGareth Aye <gareth.aye@gmail.com>2013-04-18 10:48:34 -0700
commit90940f2960050812ec0a2897a89de837066056be (patch)
tree9024ea21340ac246de43d7c467a4886dcd5d8382 /test/caldav/request
parentc439df4388cc4bb5c1777c4dbdc5b164d5192d7f (diff)
parent5e788a0315b937ebfaea47ee15103b093bd4edb3 (diff)
downloadjsCalDAV-90940f2960050812ec0a2897a89de837066056be.tar.gz
Merge pull request #12 from gaye/add-xhr-abort
Add an abort routine to Caldav.Xhr
Diffstat (limited to 'test/caldav/request')
-rw-r--r--test/caldav/request/abstract_test.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/caldav/request/abstract_test.js b/test/caldav/request/abstract_test.js
index 21bde48..e2fb3d1 100644
--- a/test/caldav/request/abstract_test.js
+++ b/test/caldav/request/abstract_test.js
@@ -70,6 +70,13 @@ suite('caldav/request/abstract.js', function() {
return FakeXhr.instances.pop();
}
+ test('should return a Caldav.Xhr object', function() {
+ var req = subject.send(function() {});
+ assert.deepEqual(url, req.url)
+ assert.deepEqual(con.user, req.user);
+ assert.deepEqual(con.password, req.password);
+ });
+
suite('error', function() {
var calledWith;