[Finishes #51528655] spies should support and.stub()
This commit is contained in:
@@ -39,6 +39,11 @@ getJasmineRequireObj().SpyStrategy = function() {
|
||||
plan = fn;
|
||||
return getSpy();
|
||||
};
|
||||
|
||||
this.stub = function(fn) {
|
||||
plan = function() {};
|
||||
return getSpy();
|
||||
};
|
||||
}
|
||||
|
||||
return SpyStrategy;
|
||||
|
||||
Reference in New Issue
Block a user