aboutsummaryrefslogtreecommitdiffstats
path: root/test/servers/home_test.js
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-10-10 11:31:20 -0700
committerJames Lal <james@lightsofapollo.com>2012-10-10 11:31:20 -0700
commit84c07224a04189d42abbcd2dbfaf541fa53a90ff (patch)
tree536e3044b77f0f6c9a927a686137ec426525cf03 /test/servers/home_test.js
parentae75f140a6263b78aa096534db68f4b53805c36a (diff)
downloadjsCalDAV-84c07224a04189d42abbcd2dbfaf541fa53a90ff.tar.gz
server/capability tests
Diffstat (limited to 'test/servers/home_test.js')
-rw-r--r--test/servers/home_test.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/servers/home_test.js b/test/servers/home_test.js
new file mode 100644
index 0000000..813f954
--- /dev/null
+++ b/test/servers/home_test.js
@@ -0,0 +1,13 @@
+var debug = require('debug')('caldav:test');
+var helper = require('./helper.js');
+var Caldav = require('../../lib/caldav');
+var assert = require('assert');
+
+suite('home::', function() {
+ test('detect', function(done) {
+ helper.findEnvHome(function() {
+ assert.ok(testEnv.homeUrl, 'should set home uri');
+ done();
+ });
+ });
+});