Merge branch 'issue-931-respy' of https://github.com/guy-mograbi-at-gigaspaces/jasmine into guy-mograbi-at-gigaspaces-issue-931-respy

- Merges #953
- Fixes #931
This commit is contained in:
Gregg Van Hove
2016-02-18 11:09:49 -08:00
4 changed files with 53 additions and 6 deletions

View File

@@ -269,6 +269,10 @@ getJasmineRequireObj().Env = function(j$) {
return runnableResources[currentRunnable().id].spies;
}});
this.allowRespy = function(allow){
spyRegistry.allowRespy(allow);
};
this.spyOn = function() {
return spyRegistry.spyOn.apply(spyRegistry, arguments);
};