Fixes json provider test

This commit is contained in:
Raul Ochoa 2014-12-09 18:11:10 +01:00
parent f7d81998fc
commit d2dd3353d3

View File

@ -27,7 +27,7 @@ QUnit.testStart(function() {
test("no_cdn", function() { test("no_cdn", function() {
var url = "http://rambo.cartodb.com/api/v2/sql?q=1&testing=abcd%25"; var url = "http://rambo.cartodb.com/api/v2/sql?q=1&testing=abcd%25";
json.options.cdn_url = 'test-cdn.com' json.options.cdn_url = { http: 'test.com' };
json.sql('1', null, { no_cdn: true }); json.sql('1', null, { no_cdn: true });
equal(torque.net.lastCall().url, url); equal(torque.net.lastCall().url, url);
}); });