Commit f782d1fa authored by Sebastian Pekarek's avatar Sebastian Pekarek
Browse files

test update for #23

parent 400213ae
......@@ -396,4 +396,4 @@ var ICalCalendar = function(_data) {
}
};
module.exports = ICalCalendar;
\ No newline at end of file
module.exports = ICalCalendar;
......@@ -613,7 +613,7 @@ describe('ical-generator 0.1.x', function() {
}, function(res) {
var file = '';
assert.equal(res.headers['content-type'], 'text/calendar', 'Header: text/calendar');
assert.equal(res.headers['content-type'], 'text/calendar; charset=utf-8', 'Header: text/calendar; charset=utf-8');
assert.equal(res.headers['content-disposition'], 'attachment; filename="calendar.ics"', 'Content-Disposition');
res.setEncoding('utf8');
......
......@@ -280,7 +280,7 @@ describe('ical-generator 0.2.x / ICalCalendar', function() {
}, function(res) {
var file = '';
assert.equal(res.headers['content-type'], 'text/calendar', 'Header: text/calendar');
assert.equal(res.headers['content-type'], 'text/calendar; charset=utf-8', 'Header: text/calendar; charset=utf-8');
assert.equal(res.headers['content-disposition'], 'attachment; filename="calendar.ics"', 'Content-Disposition');
res.setEncoding('utf8');
......@@ -1693,4 +1693,4 @@ describe('ical-generator 0.2.x / ICalCalendar', function() {
});
});
});
});
\ No newline at end of file
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment