test(cloudfunc) html -> hbs

This commit is contained in:
coderaiser 2015-06-11 02:52:06 -04:00
parent ae75d3449f
commit 1b94d1e511

View file

@ -3,14 +3,14 @@
var DIR = __dirname + '/../../',
LIBDIR = DIR + 'lib/',
HTMLDIR = DIR + 'html/',
TMPLDIR = DIR + 'tmpl/',
Util = require(LIBDIR + 'util'),
CloudFunc = require(LIBDIR + 'cloudfunc'),
files = require('files-io'),
rendy = require('rendy'),
FS_DIR = HTMLDIR + 'fs/',
FS_DIR = TMPLDIR + 'fs/',
EXPECT_PATH = DIR + 'test/lib/cloudfunc.html',
TMPL_PATH = [
@ -54,7 +54,7 @@
var paths = {},
filesList = TMPL_PATH.map(function(name) {
var path = FS_DIR + name + '.html';
var path = FS_DIR + name + '.hbs';
paths[path] = name;