From 82d90a409692e97a79c3bf4708ee80796c7de2d6 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 6 Apr 2012 16:35:17 -0700 Subject: fix(docs): change all directive references to use the normalized names --- test/ng/directive/ngRepeatSpec.js | 2 +- test/ng/directive/selectSpec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/ng/directive/ngRepeatSpec.js b/test/ng/directive/ngRepeatSpec.js index 85aa1511..4195ef83 100644 --- a/test/ng/directive/ngRepeatSpec.js +++ b/test/ng/directive/ngRepeatSpec.js @@ -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('')($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'."); })); diff --git a/test/ng/directive/selectSpec.js b/test/ng/directive/selectSpec.js index 2e3cfaaf..9518d988 100644 --- a/test/ng/directive/selectSpec.js +++ b/test/ng/directive/selectSpec.js @@ -181,7 +181,7 @@ describe('select', function() { it('should throw when not formated "? for ? in ?"', function() { expect(function() { compile(''); - }).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'."); }); -- cgit v1.2.3