diff options
| author | Misko Hevery | 2010-04-07 17:24:24 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-04-07 17:24:24 -0700 |
| commit | e0ad7dfcd47196d0aa9271e84b2c4ac26cfda3f4 (patch) | |
| tree | f62565e7318ca6fe83520855292a29231b5f5970 /test/directivesSpec.js | |
| parent | a8aa5af413c068608aa28ef0d48cef1d5ad66485 (diff) | |
| download | angular.js-e0ad7dfcd47196d0aa9271e84b2c4ac26cfda3f4.tar.bz2 | |
seperatio validation and exception handling
Diffstat (limited to 'test/directivesSpec.js')
| -rw-r--r-- | test/directivesSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/directivesSpec.js b/test/directivesSpec.js index ea442d16..a92e98ee 100644 --- a/test/directivesSpec.js +++ b/test/directivesSpec.js @@ -88,7 +88,7 @@ describe("directives", function(){ it('should error on wrong parsing of ng-repeat', function(){ var scope = compile('<ul><li ng-repeat="i dont parse"></li></ul>'); var log = ""; - log += element.attr('ng-error') + ';'; + log += element.attr('ng-exception') + ';'; log += element.hasClass('ng-exception') + ';'; expect(log).toEqual("\"Expected ng-repeat in form of 'item in collection' but got 'i dont parse'.\";true;"); }); |
