Merge pull request #162 from CartoDB/CDB-3774

CDB-3774 Re-enables disabled tests
This commit is contained in:
Raul Ochoa 2014-08-04 18:48:35 +02:00
commit 6dd08253bf

View File

@ -939,7 +939,7 @@ test('multiple skipfields parameter do not kill the backend', function(done){
}); });
}); });
test.skip('GET /api/v1/sql ensure cross domain set on errors', function(done){ test('GET /api/v1/sql ensure cross domain set on errors', function(done){
assert.response(app, { assert.response(app, {
url: '/api/v1/sql?q=SELECT%20*gadfgadfg%20FROM%20untitle_table_4', url: '/api/v1/sql?q=SELECT%20*gadfgadfg%20FROM%20untitle_table_4',
headers: {host: 'vizzuality.cartodb.com'}, headers: {host: 'vizzuality.cartodb.com'},
@ -1049,7 +1049,7 @@ test('GET decent error if domain is incorrect', function(done){
}); });
// this test does not make sense with the current CDB_QueryTables implementation // this test does not make sense with the current CDB_QueryTables implementation
test.skip('GET decent error if SQL is broken', function(done){ test('GET decent error if SQL is broken', function(done){
assert.response(app, { assert.response(app, {
url: '/api/v1/sql?' + querystring.stringify({q: url: '/api/v1/sql?' + querystring.stringify({q:
'SELECT star FROM this and that' 'SELECT star FROM this and that'