aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ScopeSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ScopeSpec.js b/test/ScopeSpec.js
index b3edad6c..efc8c98c 100644
--- a/test/ScopeSpec.js
+++ b/test/ScopeSpec.js
@@ -176,7 +176,7 @@ describe('Scope', function(){
root.$digest();
log = '';
root.a = 1;
- expect(root.$digest()).toEqual(3);
+ root.$digest();
expect(root.b).toEqual(1);
expect(root.c).toEqual(1);
expect(root.d).toEqual(1);
@@ -211,7 +211,7 @@ describe('Scope', function(){
root.$watch('b', function(){ log += 'b'; });
root.$digest();
log = '';
- expect(root.$digest()).toEqual(0);
+ root.$digest();
expect(log).toEqual('');
});