No need to have a test for empty cartocss

This commit is contained in:
Raul Ochoa
2015-03-30 12:20:04 +02:00
parent 848bfacc2d
commit ff515f8c12
-14
View File
@@ -121,20 +121,6 @@ suite.skip('server old_api', function() {
//
/////////////////////////////////////////////////////////////////////////////////
test("post'ing no style returns 400 with errors", function(done){
assert.response(server, {
headers: {host: 'localhost'},
url: '/tiles/my_table/style',
method: 'POST'
},{
body: '{"error":"must send style information"}'
}, function(res) {
assert.equal(res.statusCode, 400);
assert.ok(!res.headers.hasOwnProperty('cache-control'));
done();
});
});
test("post'ing bad style returns 400 with error", function(done){
assert.response(server, {
url: '/tiles/my_table3/style?map_key=1234',