aboutsummaryrefslogtreecommitdiffstats
path: root/test/directivesSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2010-04-07 17:24:24 -0700
committerMisko Hevery2010-04-07 17:24:24 -0700
commite0ad7dfcd47196d0aa9271e84b2c4ac26cfda3f4 (patch)
treef62565e7318ca6fe83520855292a29231b5f5970 /test/directivesSpec.js
parenta8aa5af413c068608aa28ef0d48cef1d5ad66485 (diff)
downloadangular.js-e0ad7dfcd47196d0aa9271e84b2c4ac26cfda3f4.tar.bz2
seperatio validation and exception handling
Diffstat (limited to 'test/directivesSpec.js')
-rw-r--r--test/directivesSpec.js2
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;");
});