Stab at fixing the client tests on travis.

This commit is contained in:
Scott Erickson 2014-08-14 11:00:08 -07:00
parent 18b0208aac
commit 5a700c14df

View file

@ -269,7 +269,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
var responseBody = responseMap[url];
var responded = false;
var requests = jasmine.Ajax.requests.all();
var requests = jasmine.Ajax.requests.all().slice();
for(var j in requests) {
var request = requests[j];
if(request.url.startsWith(url)) {