var testHelper = require('../../support/test_helper'); var assert = require('../../support/assert'); var fs = require('fs'); var PortedServerOptions = require('./support/ported_server_options'); var http = require('http'); var testClient = require('./support/test_client'); var nock = require('nock'); var BaseController = require('../../../lib/cartodb/controllers/base'); function rmdir_recursive_sync(dirname) { var files = fs.readdirSync(dirname); for (var i=0; i