Permalink
Browse files

Merge pull request #20 from gabrielfalcao/patch-1

Just fixing a little typo
  • Loading branch information...
2 parents 167771d + 8ef0dbf commit b6b26366959e8740b27dc4fc3f3e5d86b21f90c4 @arunoda committed Mar 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -47,7 +47,7 @@ Usage
### Creating a mock with callback support
var mocked = nodemock.mock("foo").takes(20, function(){}).calls(1, [30, 40]);
- mockes.foo(20, function(num, arr) {
+ mocked.foo(20, function(num, arr) {
console.log(num); //prints 30
console.log(arr); //prints 40
});

0 comments on commit b6b2636

Please sign in to comment.