Tests to validate template instantiation returns new instances with

default values if they are missing.
This commit is contained in:
Raul Ochoa
2015-01-22 18:38:42 +01:00
parent 981be0edd5
commit 8d22ed7594
2 changed files with 100 additions and 2 deletions
+2 -2
View File
@@ -245,7 +245,7 @@ o.addTemplate = function(owner, template, callback) {
return true;
},
function finish(err) {
callback(err, templateName);
callback(err, templateName, template);
}
);
};
@@ -338,7 +338,7 @@ o.updTemplate = function(owner, tpl_id, template, callback) {
return true;
},
function finish(err) {
callback(err);
callback(err, template);
}
);
};