Fixing failing tests

This commit is contained in:
Jeff Avallone
2017-07-29 21:10:48 -04:00
parent bf97c596c9
commit 9d69be4c61
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ describe('parser/javascript/charset.js', function() {
this.node.elements[1].render.and.returnValue(this.elementDeferred[1].promise);
this.node.elements[2].render.and.returnValue(this.elementDeferred[2].promise);
this.node.container = Snap(document.createElement('svg'));
this.node.container = Snap(document.createElement('svg')).group();
this.partContainer = this.node.container.group();
spyOn(this.node.container, 'group').and.returnValue(this.partContainer);
spyOn(this.partContainer, 'group').and.callFake(function() {