mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-10 22:44:01 +08:00
Rename deprecated wasCalled() -> toHaveBeenCalled() in all specs
As well as wasNotCalled(), wasCalledWith(), wasNotCalledWith()
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user