Skip to content

Commit

Permalink
Merge branch 'master' of github.com:leei/vows
Browse files Browse the repository at this point in the history
  • Loading branch information
leei committed Nov 12, 2010
2 parents 1db40d4 + 6e63631 commit 27d5db3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/vows-test.js
Expand Up @@ -91,6 +91,12 @@ vows.describe("Vows").addBatch({
},
'after a successful `fs.read`': function (data) {
assert.match (data, /after a successful `fs.read`/);
},
'should set this to the target of fs.read callback': function(data) {
assert.deepEqual(this, {});
},
'should pass context as extra parameter': function(_, _, _, context) {
assert.equal(context.name, 'after a successful `fs.open`');
}
}
}
Expand Down

0 comments on commit 27d5db3

Please sign in to comment.