diff options
author | James Lal <james@lightsofapollo.com> | 2013-01-07 08:33:36 +0100 |
---|---|---|
committer | James Lal <james@lightsofapollo.com> | 2013-01-07 08:33:36 +0100 |
commit | 0b6e8afda0bc88fdfe0a64a15abfe537b5569bf7 (patch) | |
tree | f5b8c7d9322fae5cdf579e43e5a8a16fa0b55e78 /test/caldav/request/abstract_test.js | |
parent | 90090182c63617015830116dd4100136ed8c6b8b (diff) | |
parent | 042257fc2db8b1f6afb81ff77bca60c0fd820883 (diff) | |
download | jsCalDAV-0b6e8afda0bc88fdfe0a64a15abfe537b5569bf7.tar.gz |
Merge branch 'master' of github.com:mozilla-b2g/caldav
Diffstat (limited to 'test/caldav/request/abstract_test.js')
-rw-r--r-- | test/caldav/request/abstract_test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/caldav/request/abstract_test.js b/test/caldav/request/abstract_test.js index 88d8b2b..ee70b67 100644 --- a/test/caldav/request/abstract_test.js +++ b/test/caldav/request/abstract_test.js @@ -83,9 +83,9 @@ suite('caldav/request/abstract.js', function() { xhr = getXhr(); xhr.respond('NOT XML <div>', 500); }); - + test('on response', function() { - assert.match(calledWith[0].message, /http error/); + assert.equal(calledWith[0].code, 500); }); }); |