diff --git a/platform/features/layout/res/templates/layout.html b/platform/features/layout/res/templates/layout.html index 36d9431258..fa8cf59be2 100644 --- a/platform/features/layout/res/templates/layout.html +++ b/platform/features/layout/res/templates/layout.html @@ -36,7 +36,8 @@ ng-style="{ 'background-size': '100% ' + controller.getGridSize() [1] + 'px' }"> -
"); + var testElement = $(""); $element.append(testElement); spyOn(testElement[0], 'click'); - controller.selectIfNew('some-class', childObj); + controller.selectIfNew('some-id', childObj); jasmine.Clock.tick(0); expect(testElement[0].click).toHaveBeenCalled();