re-enable nock after every suite

This commit is contained in:
Raul Ochoa 2015-09-17 17:14:32 +02:00
parent dd83c05a89
commit 1f9dd5fd8c

View File

@ -63,7 +63,8 @@ function checkSurrogateKey(res, expectedKey) {
after(function(done) { after(function(done) {
// restoring nock globally after each suite // restoring nock globally after each suite
nock.restore(); nock.cleanAll();
nock.enableNetConnect();
var expectedKeys = { var expectedKeys = {
'rails:test_windshaft_cartodb_user_1_db:test_table_private_1': true, 'rails:test_windshaft_cartodb_user_1_db:test_table_private_1': true,