Setup createSpy in all specs where needed and finish renaming params
Signed-off-by: Elenore Bastian <ebastian@pivotal.io>
This commit is contained in:
committed by
Elenore Bastian
parent
038ab87252
commit
414e03bded
@@ -290,7 +290,7 @@ getJasmineRequireObj().interface = function(jasmine, env) {
|
||||
* @param {Function} factory - Factory function that returns the plan to be executed.
|
||||
*/
|
||||
jasmine.addSpyStrategy = function(name, factory) {
|
||||
return env.addSpyStrategy(identifier, factory);
|
||||
return env.addSpyStrategy(name, factory);
|
||||
};
|
||||
|
||||
return jasmineInterface;
|
||||
|
||||
Reference in New Issue
Block a user