aboutsummaryrefslogtreecommitdiffstats
path: root/test/caldav/http/basic_auth_test.js
diff options
context:
space:
mode:
authorKevin Grandon <kevingrandon@yahoo.com>2013-05-07 12:02:48 -0700
committerKevin Grandon <kevingrandon@yahoo.com>2013-05-07 12:02:48 -0700
commit9b5dd29c45ea08ff362198ffb984492df1ebadb1 (patch)
tree0d48aca900256baf82f0aa599d455a978780fa19 /test/caldav/http/basic_auth_test.js
parentc81e925aa6dada192db75dccd4287ab1e9e09ab2 (diff)
parent0b4733ebb28368198b747079d51033a7eeb1f276 (diff)
downloadjsCalDAV-9b5dd29c45ea08ff362198ffb984492df1ebadb1.tar.gz
Merge pull request #15 from lightsofapollo/error-refactoring
Initial error refactoring (make errors less HTTP specific)
Diffstat (limited to 'test/caldav/http/basic_auth_test.js')
-rw-r--r--test/caldav/http/basic_auth_test.js31
1 files changed, 18 insertions, 13 deletions
diff --git a/test/caldav/http/basic_auth_test.js b/test/caldav/http/basic_auth_test.js
index 566de08..a264d1b 100644
--- a/test/caldav/http/basic_auth_test.js
+++ b/test/caldav/http/basic_auth_test.js
@@ -39,19 +39,24 @@ suite('http/basic_auth', function() {
assert.equal(subject.url, url);
});
- test('#send', function() {
- var xhr = subject.send();
-
- assert.deepEqual(
- xhr.openArgs,
- [
- 'GET',
- url,
- subject.async,
- connection.user,
- connection.password
- ]
- );
+ suite('#send', function() {
+ test('success', function() {
+ var xhr = subject.send();
+
+ assert.deepEqual(
+ xhr.openArgs,
+ [
+ 'GET',
+ url,
+ subject.async,
+ connection.user,
+ connection.password
+ ]
+ );
+ });
+
+
+
});
});