Make spyOnProperty available in tests
Needed adding to the env and require interface
This commit is contained in:
committed by
Joe Cellucci
parent
56191cfb2e
commit
8e23c26383
@@ -293,6 +293,10 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
return spyRegistry.spyOn.apply(spyRegistry, arguments);
|
||||
};
|
||||
|
||||
this.spyOnProperty = function() {
|
||||
return spyRegistry.spyOnProperty.apply(spyRegistry, arguments);
|
||||
};
|
||||
|
||||
var suiteFactory = function(description) {
|
||||
var suite = new j$.Suite({
|
||||
env: self,
|
||||
|
||||
Reference in New Issue
Block a user