torque/test/provider.json.js
2013-10-10 10:59:25 +02:00

15 lines
234 B
JavaScript

module('provider.json');
test("url", function() {
var json = new torque.providers.json({
user: "rambo",
resolution: 1,
steps: 10
});
equal("http://rambo.cartodb.com/api/v2/sql", json.url());
});