aboutsummaryrefslogtreecommitdiffstats
path: root/test/caldav/request/abstract_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/caldav/request/abstract_test.js')
-rw-r--r--test/caldav/request/abstract_test.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/caldav/request/abstract_test.js b/test/caldav/request/abstract_test.js
index ee70b67..21bde48 100644
--- a/test/caldav/request/abstract_test.js
+++ b/test/caldav/request/abstract_test.js
@@ -79,11 +79,10 @@ suite('caldav/request/abstract.js', function() {
done();
});
-
xhr = getXhr();
xhr.respond('NOT XML <div>', 500);
});
-
+
test('on response', function() {
assert.equal(calledWith[0].code, 500);
});
@@ -110,7 +109,6 @@ suite('caldav/request/abstract.js', function() {
item: { value: 'value' }
}
});
- assert.equal(calledWith[2].xhr, xhr);
});
});
});