Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Just fixing a little typo #20

Merged
merged 1 commit into from Mar 28, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
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
});