Argument matcher for an array containing at least the specified entries

This commit is contained in:
slackersoft
2013-10-03 18:21:47 -07:00
parent 6354ee17e5
commit b5b77b318a
7 changed files with 106 additions and 2 deletions

View File

@@ -48,6 +48,10 @@ getJasmineRequireObj().base = function(j$) {
return new j$.ObjectContaining(sample);
};
j$.arrayContaining = function(sample) {
return new j$.ArrayContaining(sample);
};
j$.createSpy = function(name, originalFn) {
var spyStrategy = new j$.SpyStrategy({