mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-23 03:30:02 +08:00
fix(docs): change all directive references to use the normalized names
This commit is contained in:
@@ -67,7 +67,7 @@ describe('ng-repeat', function() {
|
||||
it('should error on wrong parsing of ng-repeat', inject(function($rootScope, $compile) {
|
||||
expect(function() {
|
||||
element = $compile('<ul><li ng-repeat="i dont parse"></li></ul>')($rootScope);
|
||||
}).toThrow("Expected ng-repeat in form of '_item_ in _collection_' but got 'i dont parse'.");
|
||||
}).toThrow("Expected ngRepeat in form of '_item_ in _collection_' but got 'i dont parse'.");
|
||||
}));
|
||||
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ describe('select', function() {
|
||||
it('should throw when not formated "? for ? in ?"', function() {
|
||||
expect(function() {
|
||||
compile('<select ng-model="selected" ng-options="i dont parse"></select>');
|
||||
}).toThrow("Expected ng-options in form of '_select_ (as _label_)? for (_key_,)?_value_ in" +
|
||||
}).toThrow("Expected ngOptions in form of '_select_ (as _label_)? for (_key_,)?_value_ in" +
|
||||
" _collection_' but got 'i dont parse'.");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user