stopped using an empty suffix for test/branch stuff, so that things are less confusing down the road when versions change

This commit is contained in:
Spencer Alger
2014-02-05 09:46:53 -07:00
parent 4680930487
commit 70b51dfa6d
13 changed files with 15 additions and 19 deletions

View File

@ -1,5 +1,7 @@
var root = require('find-root')(__dirname);
var utils = require(root + '/grunt/utils');
var rootReq = function (p) { return require(require('path').resolve(root, p)); };
var utils = rootReq('grunt/utils');
var _ = rootReq('src/lib/utils');
var config = {
unit: {
@ -29,7 +31,7 @@ var config = {
utils.branches.forEach(function (branch) {
config['integration_' + branch] = {
src: 'test/integration/yaml_suite/index' + utils.branchSuffix(branch) + '.js'
src: 'test/integration/yaml_suite/index' + _.snakeCase(branch) + '.js'
};
});