[REF] utils: rename loadTemplates into loadFile

closes #351
This commit is contained in:
Géry Debongnie
2019-10-17 12:20:22 +02:00
committed by aab-odoo
parent 4bc49e7241
commit 0aeebd7b6e
8 changed files with 32 additions and 25 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ describe("error handling", () => {
expect(() => qweb.addTemplate("test", "<div/>")).toThrow("already defined");
});
test("loadTemplates throw if parser error", () => {
test("addTemplates throw if parser error", () => {
expect(() => {
qweb.addTemplates("<templates><abc>></templates>");
}).toThrow("Invalid XML in template");