Browse files

updated express

  • Loading branch information...
1 parent c7484e3 commit d27f0b277fb55c652a42b7dd8e4f173f2560425e @tj tj committed Mar 3, 2011
Showing with 3 additions and 6 deletions.
  1. +3 −6 test/messages.test.js
View
9 test/messages.test.js
@@ -4,16 +4,13 @@
*/
var express = require('express')
- , messages = require('../')
- , MemoryStore = require('connect').session.MemoryStore;
-
-var store = new MemoryStore({ reapInterval: -1 });
+ , messages = require('../');
module.exports = {
'test messages dynamic helper': function(assert){
var app = express.createServer(
- express.cookieDecoder(),
- express.session({ secret: 'wahoo', store: store })
+ express.cookieParser(),
+ express.session({ secret: 'wahoo' })
);
app.set('views', __dirname + '/fixtures');
app.dynamicHelpers({ messages: messages });

0 comments on commit d27f0b2

Please sign in to comment.