#726 fix unit tests

This commit is contained in:
Denys Vuika
2016-09-14 21:17:13 +01:00
parent 2d5944c8bf
commit ca2267faff
6 changed files with 22 additions and 24 deletions

View File

@@ -50,7 +50,7 @@ describe('WidgetComponent', () => {
let component = new WidgetComponent();
expect(component.hasField()).toBeFalsy();
component.field = new FormFieldModel(null);
component.field = new FormFieldModel(new FormModel());
expect(component.hasField()).toBeTruthy();
});