Skip to content

Commit c3afbbc

Browse files
author
cloudhead
committed
revised vows.js header
1 parent ec867b6 commit c3afbbc

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

lib/vows.js

+9-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@
55
//
66
// var vows = require('vows');
77
//
8-
// vows.describe('Deep Thought').addVows(function () {
9-
// question('what is the answer to the universe?').addVow(function (answer) {
10-
// assert.equals(answer, 42);
11-
// }, 'it should know the answer to the ultimate question of life');
12-
// });
8+
// vows.describe('Deep Thought').addVows({
9+
// "An instance of DeepThought": {
10+
// topic: new DeepThought,
11+
//
12+
// "should know the answer to the ultimate question of life": function (deepThought) {
13+
// assert.equal (deepThought.question('what is the answer to the universe?'), 42);
14+
// }
15+
// }
16+
// }).run();
1317
//
1418
var sys = require('sys'),
1519
events = require('events'),

0 commit comments

Comments
 (0)