Skip to content
Browse files

Upgrade to vows 0.6.x.

  • Loading branch information...
1 parent 4ffe382 commit 70d1e5ecbf197dd1031d867111d0ef2e3ca40b19 @jaredhanson committed Jan 10, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 package.json
  2. +3 −3 test/index-test.js
View
2 package.json
@@ -11,7 +11,7 @@
"dependencies": {
},
"devDependencies": {
- "vows": "0.5.11"
+ "vows": "0.6.x"
},
"engines": { "node": ">= 0.4.0" },
"keywords": ["express", "connect", "auth", "authn", "authentication"]
View
6 test/index-test.js
@@ -21,17 +21,17 @@ vows.describe('passport').addBatch({
'should create initialization middleware': function (passport) {
var initialize = passport.initialize();
assert.isFunction(initialize);
- assert.length(initialize, 3);
+ assert.lengthOf(initialize, 3);
},
'should create session restoration middleware': function (passport) {
var session = passport.session();
assert.isFunction(session);
- assert.length(session, 3);
+ assert.lengthOf(session, 3);
},
'should create authentication middleware': function (passport) {
var authenticate = passport.authenticate();
assert.isFunction(authenticate);
- assert.length(authenticate, 3);
+ assert.lengthOf(authenticate, 3);
},
},

0 comments on commit 70d1e5e

Please sign in to comment.
Something went wrong with that request. Please try again.