torque/test/provider.json.js

15 lines
234 B
JavaScript
Raw Normal View History

2013-10-10 16:59:19 +08:00
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());
});