Skip to content

Commit

Permalink
Fix for eclipsesource#197: Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarmueller committed Apr 7, 2016
1 parent aa208a8 commit eac840d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ describe('HorizontalLayout', () => {
scope.$digest();
let labelElements = el.find('label');
expect(labelElements).toBeDefined();
expect(labelElements.length).toEqual(1);
// one label is empty
expect(labelElements.length).toEqual(2);
expect(angular.element(labelElements[0]).text()).toEqual("Foo");
expect(angular.element(labelElements[1]).text()).toEqual("");
}));

it("should take into account if all labels are hidden", inject(($rootScope, $compile) => {
Expand Down

0 comments on commit eac840d

Please sign in to comment.