blob: 525d407beb9c5583caeffdc67c77e21a370bf5ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
requireRequest();
testSupport.lib('request/propfind');
testSupport.lib('request/calendar_home');
suite('caldav/request/propfind', function() {
var Propfind;
var Connection;
var Home;
var subject;
var con;
var url = 'http://google.com',
subject;
suiteSetup(function() {
Propfind = Caldav.require('request/propfind');
Connection = Caldav.require('connection');
Home = Caldav.require('request/calendar_home');
});
setup(function() {
con = new Connection();
subject = new Home(con, {
url: url
});
});
test('initialization', function() {
assert.equal(subject.url, url);
assert.equal(subject.connection, con);
});
});
|