564
564
it('correctly updates annotations', function() {
565
565
var initial = {'gui-x': '42'},
567
568
db.services.add({id: 'django', annotations: initial});
572
573
annotationInfo(db, 'change', change);
573
574
// Retrieve the annotations from the database.
574
575
var service = db.services.getById('django');
575
577
assert.deepEqual(expected, service.get('annotations'));