Permalink
Browse files

Fixed tests

  • Loading branch information...
1 parent 552c0a9 commit 588cbb1cbefabaf9de6adfa8c75dd46f49d6bd14 @tj tj committed Aug 15, 2011
Showing with 10 additions and 11 deletions.
  1. +1 −0 .gitignore
  2. +1 −5 Makefile
  3. +5 −0 package.json
  4. +0 −1 support/connect
  5. +0 −1 support/ejs
  6. +0 −1 support/express
  7. +0 −1 support/expresso
  8. +3 −2 test/messages.test.js
View
@@ -0,0 +1 @@
+node_modules
View
@@ -1,9 +1,5 @@
test:
- @./support/expresso/bin/expresso \
- -I support/connect/lib \
- -I support/ejs \
- -I support \
- --serial
+ @./node_modules/.bin/expresso --serial test/*.test.js
.PHONY: test
View
@@ -4,5 +4,10 @@
, "author": "TJ Holowaychuk <tj@vision-media.ca>"
, "keywords": ["express"]
, "main": "index"
+ , "devDependencies": {
+ "express": "2.4.4"
+ , "expresso": "0.8.1"
+ , "ejs": "0.4.3"
+ }
, "engines": { "node": ">= 0.2.0" }
}
Submodule connect deleted from 769540
Submodule ejs deleted from 76cf94
Submodule express deleted from 0d4eaf
Submodule expresso deleted from d05bb6
View
@@ -4,10 +4,11 @@
*/
var express = require('express')
- , messages = require('../');
+ , messages = require('../')
+ , assert = require('assert');
module.exports = {
- 'test messages dynamic helper': function(assert){
+ 'test messages dynamic helper': function(){
var app = express.createServer(
express.cookieParser(),
express.session({ secret: 'wahoo' })

0 comments on commit 588cbb1

Please sign in to comment.