[Finishes #51528655] spies should support and.stub()

This commit is contained in:
Colin O'Byrne and JR Boyens
2013-07-22 14:39:06 -07:00
parent 3847557bbc
commit 663a58d617
2 changed files with 24 additions and 0 deletions

View File

@@ -39,6 +39,11 @@ getJasmineRequireObj().SpyStrategy = function() {
plan = fn;
return getSpy();
};
this.stub = function(fn) {
plan = function() {};
return getSpy();
};
}
return SpyStrategy;