Skip to content
This repository
Browse code

Upgrade to vows 0.6.x.

  • Loading branch information...
commit 70d1e5ecbf197dd1031d867111d0ef2e3ca40b19 1 parent 4ffe382
Jared Hanson authored

Showing 2 changed files with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +1 1  package.json
  2. +3 3 test/index-test.js
2  package.json
@@ -11,7 +11,7 @@
11 11 "dependencies": {
12 12 },
13 13 "devDependencies": {
14   - "vows": "0.5.11"
  14 + "vows": "0.6.x"
15 15 },
16 16 "engines": { "node": ">= 0.4.0" },
17 17 "keywords": ["express", "connect", "auth", "authn", "authentication"]
6 test/index-test.js
@@ -21,17 +21,17 @@ vows.describe('passport').addBatch({
21 21 'should create initialization middleware': function (passport) {
22 22 var initialize = passport.initialize();
23 23 assert.isFunction(initialize);
24   - assert.length(initialize, 3);
  24 + assert.lengthOf(initialize, 3);
25 25 },
26 26 'should create session restoration middleware': function (passport) {
27 27 var session = passport.session();
28 28 assert.isFunction(session);
29   - assert.length(session, 3);
  29 + assert.lengthOf(session, 3);
30 30 },
31 31 'should create authentication middleware': function (passport) {
32 32 var authenticate = passport.authenticate();
33 33 assert.isFunction(authenticate);
34   - assert.length(authenticate, 3);
  34 + assert.lengthOf(authenticate, 3);
35 35 },
36 36 },
37 37

0 comments on commit 70d1e5e

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