fix howers which were accidently broken

This commit is contained in:
Misko Hevery
2010-07-22 15:32:57 -07:00
parent 849a05b5a5
commit 2987f7f705
7 changed files with 96 additions and 29 deletions

View File

@@ -140,11 +140,6 @@ describe("directives", function(){
expect(element.text()).toEqual('misko:swe;shyam:set;');
});
it('should set ng:repeat to [] if undefinde', function(){
var scope = compile('<ul><li ng:repeat="item in items"></li></ul>');
expect(scope.items).toEqual([]);
});
it('should error on wrong parsing of ng:repeat', function(){
var scope = compile('<ul><li ng:repeat="i dont parse"></li></ul>');
var log = "";