From 84c07224a04189d42abbcd2dbfaf541fa53a90ff Mon Sep 17 00:00:00 2001 From: James Lal Date: Wed, 10 Oct 2012 11:31:20 -0700 Subject: server/capability tests --- test/servers/home_test.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/servers/home_test.js (limited to 'test/servers/home_test.js') 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(); + }); + }); +}); -- cgit