Permalink
Browse files

Fixed express(1) generated tests for express 0.7.0. Closes #484

  • Loading branch information...
1 parent 84a95b3 commit 4732185e6fcb988e46b2449d206b62b3e0ea9c9a @tj tj committed Dec 14, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −2 bin/express
View
@@ -145,10 +145,11 @@ var appTest = [
, " * Module dependencies."
, " */"
, ""
- , "var app = require('../app');"
+ , "var app = require('../app')"
+ , " , assert = require('assert');"
, "",
, "module.exports = {"
- , " 'GET /': function(assert){"
+ , " 'GET /': function(){"
, " assert.response(app,"
, " { url: '/' },"
, " { status: 200, headers: { 'Content-Type': 'text/html; charset=utf-8' }},"

0 comments on commit 4732185

Please sign in to comment.