Skip to content

Commit dfd8164

Browse files
committed
Fixed broken test
1 parent 2450d78 commit dfd8164

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/controllers/nodeCtrl.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,13 @@ describe('treeCtrl', function () {
179179
scope.$digest();
180180
return element;
181181
}
182-
182+
183183
it('should not include in depth calculation child node scopes with no children', function () {
184184
var tree, localScope;
185185
tree = createTree();
186186
localScope = angular.element(tree.children('ol').first()).scope();
187187

188-
expect(localScope.childNodes()[1].maxSubDepth()).toEqual(1);
188+
expect(localScope.childNodes()[1].maxSubDepth()).toEqual(2);
189189

190190
});
191191
});

0 commit comments

Comments
 (0)