1
0

updated field-icon test

This commit is contained in:
David Baldwynn 2017-11-21 15:56:10 -08:00
parent 1163debc33
commit 6213ec227d

View File

@ -97,7 +97,9 @@
currType = FormFields.types[i];
currClass = faClasses[currType.name];
var element = $compile('<field-icon-directive type-name="'+currType.name+'"></field-icon-directive>')(scope);
scope.currType = currType;
var element = $compile('<field-icon-directive type-name="currType.name"></field-icon-directive>')(scope);
scope.$digest();
expect(currClass).toBeDefined();