Skip to content

Commit

Permalink
update expresso
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 7, 2011
1 parent 2f31668 commit 522ed15
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/namespace.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
*/

var express = require('express')
, assert = require('assert')
, namespace = require('../');

module.exports = {
'test app.namespace(str, fn)': function(assert){
'test app.namespace(str, fn)': function(){
var app = express.createServer();

app.get('/one', function(req, res){
Expand Down Expand Up @@ -47,7 +48,7 @@ module.exports = {
{ body: 'GET two' });
},

'test app.namespace(str, fn) nesting': function(assert, done){
'test app.namespace(str, fn) nesting': function(done){
var pending = 6
, calls = 0
, app = express.createServer();
Expand Down Expand Up @@ -123,7 +124,7 @@ module.exports = {
, finished);
},

'test fn.route': function(assert){
'test fn.route': function(){
var app = express.createServer();

app.namespace('/user/:id', function(){
Expand Down

0 comments on commit 522ed15

Please sign in to comment.