aboutsummaryrefslogtreecommitdiffstats
path: root/test/ScopeSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ScopeSpec.js')
-rw-r--r--test/ScopeSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ScopeSpec.js b/test/ScopeSpec.js
index 09f4d875..0665968b 100644
--- a/test/ScopeSpec.js
+++ b/test/ScopeSpec.js
@@ -78,7 +78,7 @@ describe('scope/model', function(){
var element = jqLite('<div></div>');
var scope = createScope();
scope.$tryEval('throw "myError"', element);
- expect(element.attr('ng-error')).toEqual('"myError"'); // errors are jsonified
+ expect(element.attr('ng-exception')).toEqual('"myError"'); // errors are jsonified
expect(element.hasClass('ng-exception')).toBeTruthy();
});