jasmine.Spec.prototype.spyOn accepts three parameters: obj, methodName, ignoreMethodDoesntExist
global spyOn function only accepts two parameters: obj, methodName
So if one wishes to spy on a non-existent method, one may not use the global spyOn method but must instead grab and directly call jasmine.getEnv().currentSpec.spyOn
Do you have a patch with specs that does what you suggest?
Aha! There's your patch. We'll review. Closing as a duplicate. Thanks!