aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md12
-rw-r--r--lib/caldav/connection.js3
2 files changed, 13 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3e2aa59..c0a0a3a 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,19 @@
# CalDAV
Basis for all caldav operations in b2g calendar app but designed from
-ground up as a general purpose caldav library.
+ground up as a general purpose caldav library.
Tested against firefox nightly / b2g nightly / nodejs.
Should work under any modern browser but unless your browser
can support cross domain requests cros headers its usefulness
will be limited.
+
+### Server-specific tests
+
+We have a tiny collection of tests which can be pointed at specific servers. In order to run these, create a file called `servers.json` in `test/servers` following the JSON format in `test/servers/servers.json.tpl`. Then do
+
+```
+./index.js -s <server>
+```
+
+to run all of the tests!
diff --git a/lib/caldav/connection.js b/lib/caldav/connection.js
index 7262d06..8869571 100644
--- a/lib/caldav/connection.js
+++ b/lib/caldav/connection.js
@@ -1,6 +1,7 @@
(function(module, ns) {
- var XHR = ns.require('xhr');
+ var Caldav = ns.require('caldav'),
+ XHR = ns.require('xhr');
/**
* Connection objects contain