Permalink
Browse files

fixed tests

  • Loading branch information...
1 parent 4ca848e commit 2f68957c8c33cccd1b0d3771720b32841cb32ff3 @tj tj committed May 20, 2011
Showing with 2 additions and 6 deletions.
  1. +1 −6 Makefile
  2. +1 −0 test/view.test.js
View
@@ -3,13 +3,8 @@ DOCS = $(shell find docs/*.md)
HTMLDOCS =$(DOCS:.md=.html)
test:
- @NODE_ENV=test ./support/expresso/bin/expresso \
+ @NODE_ENV=test ./node_modules/.bin/expresso \
-I lib \
- -I support \
- -I support/connect/lib \
- -I support/haml/lib \
- -I support/jade/lib \
- -I support/ejs/lib \
$(TESTFLAGS) \
test/*.test.js
View
@@ -105,6 +105,7 @@ module.exports = {
'test #render()': function(){
var app = create();
app.set('view engine', 'jade');
+ app.register('haml', require('hamljs'));
app.get('/', function(req, res){
res.render('index.jade', { layout: false });

0 comments on commit 2f68957

Please sign in to comment.