Sha256: 336c17f1dcc42053b9f01629e541554a44e393bcf53972886884ba593b07fd7b
Contents?: true
Size: 482 Bytes
Versions: 39
Compression:
Stored size: 482 Bytes
Contents
getJasmineRequireObj().AjaxStubTracker = function() { function StubTracker() { var stubs = []; this.addStub = function(stub) { stubs.push(stub); }; this.reset = function() { stubs = []; }; this.findStub = function(url, data, method) { for (var i = stubs.length - 1; i >= 0; i--) { var stub = stubs[i]; if (stub.matches(url, data, method)) { return stub; } } }; } return StubTracker; };
Version data entries
39 entries across 39 versions & 1 rubygems