Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
biggora committed Apr 20, 2014
1 parent dd002de commit 2ef3cda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "connect-caminte",
"description": "CrossDB session store for Connect and ExpressJS",
"version": "0.0.3",
"version": "0.0.3-1",
"homepage": "https://github.com/biggora/connect-caminte/",
"repository": {
"type": "git",
Expand Down Expand Up @@ -42,7 +42,6 @@
},
"devDependencies": {
"nodeunit": ">= 0.6.4",
"connect": ">= 2.9.0",
"express": ">= 3.0.0"
"express-session":">= 1.0.0"
}
}
4 changes: 2 additions & 2 deletions tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* TrinteJS homepage http://www.trintejs.com
*/

var express = require('express');
var CaminteStore = require("./../lib/connect-caminte")(express);
var session = require('express-session');
var CaminteStore = require("./../lib/connect-caminte")(session);
var sid = 'uyv6r4djvbu7ubi8708uyuby' + new Date().getTime();
var maxAge = 300000; // 3 min
var store = new CaminteStore({
Expand Down

0 comments on commit 2ef3cda

Please sign in to comment.