diff options
| author | Igor Minar | 2012-04-09 11:20:55 -0700 |
|---|---|---|
| committer | Igor Minar | 2012-04-09 11:48:54 -0700 |
| commit | 0f89383d981d0144c6db92b163edcc545d6b5222 (patch) | |
| tree | 3eb2c5acb653840f7f1cfea6e198d0889edac63c /test/ng/directive/ngRepeatSpec.js | |
| parent | 10daefc6f466a21d9418437666461c80cf24fcfe (diff) | |
| download | angular.js-0f89383d981d0144c6db92b163edcc545d6b5222.tar.bz2 | |
chore(tests): rename all directive names to the normalized form
Diffstat (limited to 'test/ng/directive/ngRepeatSpec.js')
| -rw-r--r-- | test/ng/directive/ngRepeatSpec.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/ng/directive/ngRepeatSpec.js b/test/ng/directive/ngRepeatSpec.js index 4195ef83..5cb7196b 100644 --- a/test/ng/directive/ngRepeatSpec.js +++ b/test/ng/directive/ngRepeatSpec.js @@ -1,6 +1,6 @@ 'use strict'; -describe('ng-repeat', function() { +describe('ngRepeat', function() { var element; @@ -9,7 +9,7 @@ describe('ng-repeat', function() { }); - it('should ng-repeat over array', inject(function($rootScope, $compile) { + it('should ngRepeat over array', inject(function($rootScope, $compile) { element = $compile( '<ul>' + '<li ng-repeat="item in items" ng-init="suffix = \';\'" ng-bind="item + suffix"></li>' + @@ -37,7 +37,7 @@ describe('ng-repeat', function() { })); - it('should ng-repeat over object', inject(function($rootScope, $compile) { + it('should ngRepeat over object', inject(function($rootScope, $compile) { element = $compile( '<ul>' + '<li ng-repeat="(key, value) in items" ng-bind="key + \':\' + value + \';\' "></li>' + @@ -48,7 +48,7 @@ describe('ng-repeat', function() { })); - it('should not ng-repeat over parent properties', inject(function($rootScope, $compile) { + it('should not ngRepeat over parent properties', inject(function($rootScope, $compile) { var Class = function() {}; Class.prototype.abc = function() {}; Class.prototype.value = 'abc'; @@ -64,14 +64,14 @@ describe('ng-repeat', function() { })); - it('should error on wrong parsing of ng-repeat', inject(function($rootScope, $compile) { + it('should error on wrong parsing of ngRepeat', inject(function($rootScope, $compile) { expect(function() { element = $compile('<ul><li ng-repeat="i dont parse"></li></ul>')($rootScope); }).toThrow("Expected ngRepeat in form of '_item_ in _collection_' but got 'i dont parse'."); })); - it("should throw error when left-hand-side of ng-repeat can't be parsed", inject( + it("should throw error when left-hand-side of ngRepeat can't be parsed", inject( function($rootScope, $compile) { expect(function() { element = $compile('<ul><li ng-repeat="i dont parse in foo"></li></ul>')($rootScope); |
