From bd5c9a03713e38418a16a3074b7e4381adfe5b3a Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Fri, 28 Jun 2013 08:28:06 +0100 Subject: style(ngRepeatSpec): fix up colons and iit --- test/ng/directive/ngRepeatSpec.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'test/ng/directive') diff --git a/test/ng/directive/ngRepeatSpec.js b/test/ng/directive/ngRepeatSpec.js index 925a93ce..58849d03 100644 --- a/test/ng/directive/ngRepeatSpec.js +++ b/test/ng/directive/ngRepeatSpec.js @@ -71,7 +71,7 @@ describe('ngRepeat', function() { "c" + "
"; - var htmlCollection = document.getElementsByTagName('a') + var htmlCollection = document.getElementsByTagName('a'); scope.items = htmlCollection; scope.$digest(); expect(element.find('li').length).toEqual(3); @@ -446,7 +446,7 @@ describe('ngRepeat', function() { scope.array = ['b', 'a']; scope.$digest(); - var lis = element.find('li'); + lis = element.find('li'); expect(lis.eq(0).data('mark')).toEqual('b'); expect(lis.eq(1).data('mark')).toEqual('a'); }); @@ -460,7 +460,7 @@ describe('ngRepeat', function() { return { replace: true, template: '{{log(i)}}' - } + }; }); element = jqLite(''); $compile(element)($rootScope); @@ -480,13 +480,13 @@ describe('ngRepeat', function() { })); - iit('should work when placed on a root element of attr directive with ASYNC replaced template', + it('should work when placed on a root element of attr directive with ASYNC replaced template', inject(function($templateCache, $compile, $rootScope) { $compileProvider.directive('replaceMeWithRepeater', function() { return { replace: true, templateUrl: 'replace-me-with-repeater.html' - } + }; }); $templateCache.put('replace-me-with-repeater.html', '