blob: 702400f6dcab09d890a80966c8636990c8a17ec1 (
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
36
|
testSupport.lib('ical'),
suite('caldav/ics', function() {
var ical;
var samples = {};
suiteSetup(function(done) {
testSupport.loadSample('ical/event.ics', function(err, data) {
samples.event = data;
done();
});
});
suiteSetup(function() {
ical = Caldav.require('ical');
});
test('intiailizer', function() {
assert.ok(ical);
});
suite('VEVENT', function() {
var result;
setup(function() {
result = ical(samples.event);
});
test('parse', function() {
assert.ok(result.vevent);
});
});
});
|