diff --git a/modules/directives/test/ng_repeat_spec.js b/modules/directives/test/ng_repeat_spec.js index cd52cda49b..ff3bf89b1a 100644 --- a/modules/directives/test/ng_repeat_spec.js +++ b/modules/directives/test/ng_repeat_spec.js @@ -173,25 +173,24 @@ export function main() { }); }); -/* -TODO(rado): enable after compiler is fixed. it('should repeat over nested arrays', (done) => { compileWithTemplate( - '' + '|' ).then((pv) => { createView(pv); component.items = [['a', 'b'], ['c','d']]; cd.detectChanges(); cd.detectChanges(); cd.detectChanges(); - expect(DOM.getText(view.nodes[0])).toEqual(''); + expect(DOM.getText(view.nodes[0])).toEqual('a;b;|c;d;|'); done(); }); }); +/* TODO(rado): enable after compiler is fixed. it('should display indices correctly', (done) => { var INDEX_TEMPLATE = '
{{index.toString()}};
';