Permalink
Browse files

fixed issue #13

chnages global variable into a local one
  • Loading branch information...
1 parent 89bc8a8 commit 167771d469995a86690b4f2abb8f418f5032a52e @arunoda committed Jan 5, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/nodemock.js
  2. +1 −1 package.json
View
@@ -37,7 +37,7 @@ function NodeMock(methodName) {
//Iterate over to find a entry matching argument list
for(var index in entries[method]) {
- entry = entries[method][index];
+ var entry = entries[method][index];
if(entry.executed == false && deepObjectCheck(entry.args, args)) {
//increasing executed numbers for that entry
View
@@ -1,6 +1,6 @@
{
"name": "nodemock",
- "version": "0.2.16",
+ "version": "0.2.17",
"directories": {
"lib": "./lib"
},

0 comments on commit 167771d

Please sign in to comment.