Fixes json provider test
This commit is contained in:
parent
f7d81998fc
commit
d2dd3353d3
@ -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);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user