Browse files

Merge pull request #1 from klipstein/master

Fix global usage of sinon in enhance afterEach
  • Loading branch information...
2 parents 54b44ea + b0b6072 commit 0e28069f019cdae4cefe473a4334ab16bc7e221b @lightsofapollo committed Apr 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinon-mocha.js
View
2 lib/sinon-mocha.js
@@ -21,7 +21,7 @@ SinonMocha = {
afterEach: function(){
WrapMethod.restoreWrappedMethods();
- sinon.wrapMethod.restore();
+ SinonMocha.sinon.wrapMethod.restore();
}
};

0 comments on commit 0e28069

Please sign in to comment.