aboutsummaryrefslogtreecommitdiffstats
path: root/test/ScopeSpec.js
diff options
context:
space:
mode:
authorVojta Jina2011-05-31 10:32:54 +0200
committerVojta Jina2011-05-31 10:32:54 +0200
commit2e5199997c77cb2febed4ff21bc12a5d5fbad4ce (patch)
treeda57107e2e07e5d160af0383cbd86ee2fbc94c80 /test/ScopeSpec.js
parentb2f5299e0e3d6e4892b7fcc37686012147bf0afa (diff)
downloadangular.js-2e5199997c77cb2febed4ff21bc12a5d5fbad4ce.tar.bz2
Rename deprecated wasCalled() -> toHaveBeenCalled() in all specs
As well as wasNotCalled(), wasCalledWith(), wasNotCalledWith()
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 ab1ba124..da9c517e 100644
--- a/test/ScopeSpec.js
+++ b/test/ScopeSpec.js
@@ -62,7 +62,7 @@ describe('scope/model', function(){
var onEval = jasmine.createSpy('onEval');
model.$onEval(onEval);
model.$eval('');
- expect(onEval).wasNotCalled();
+ expect(onEval).not.toHaveBeenCalled();
});
it('should ignore none string/function', function(){