From 3c116edf645f2c50e8499345cef7145c18ed5269 Mon Sep 17 00:00:00 2001 From: Brian J Brennan Date: Fri, 16 Nov 2012 14:11:36 -0500 Subject: [PATCH] Remove worthless test --- test/basic-controller-test.js | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 test/basic-controller-test.js diff --git a/test/basic-controller-test.js b/test/basic-controller-test.js deleted file mode 100644 index 957b5864..00000000 --- a/test/basic-controller-test.js +++ /dev/null @@ -1,28 +0,0 @@ -var fs = require('fs') - , path = require('path') - , vows = require('vows') - , assert = require('assert') - -var controllers = fs.readdirSync(path.join(__dirname, '../controllers')); - -var testGen = function(files) { - var test = {}; - for (var i = files.length; i--; ) { - test[files[i]] = (function(mod){ - return function(){ assert.ok(require('../controllers/' + mod)); } - }(files[i].replace('.js', ''))); - } - return test; -} - -vows.describe('Controller sanity').addBatch({ - 'Controller': { - topic: controllers, - 'exists': function (files){ - assert.ok(files); - assert.ok(files.length > 0); - }, - 'import test: ': testGen(controllers) - } -}).export(module); -