Reorganize tests, under 'spec' directory now

This commit is contained in:
Andrew Stewart 2014-10-20 14:55:25 -07:00
parent 9be0f779ae
commit bd95f9eb3c
19 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
BIN := ./node_modules/.bin
TEST_FILES := test/support/env.js $(shell find test/specs -type f -name "*.js")
TEST_FILES := spec/helper.js $(shell find spec/lib -type f -name "*.js")
VERSION := $(shell node -e "console.log(require('./package.json').version)")

View File

@ -24,7 +24,7 @@ global.stub = sinon.stub;
// convenience function to require modules in lib directory
global.source = function(module) {
return require(path.normalize('./../../lib/' + module));
return require(path.normalize('./../lib/' + module));
};
var Cylon = source('cylon');