Add test to detect problem #457

This commit is contained in:
Javier Goizueta 2016-05-18 18:02:08 +02:00
parent a1e024e228
commit 5989ab344d

View File

@ -58,6 +58,21 @@ describe('dataviews using tables without overviews', function() {
});
});
it("should admit a bbox", function(done) {
var params = {
bbox: "-170,-80,170,80"
};
var testClient = new TestClient(nonOverviewsMapConfig);
testClient.getDataview('country_places_count', params, function(err, formula_result) {
if (err) {
return done(err);
}
assert.deepEqual(formula_result, { operation: 'count', result: 7253, nulls: 0, type: 'formula' });
testClient.drain(done);
});
});
describe('filters', function() {
describe('category', function () {