Permalink
Browse files

Use sinon of the SinonMocha object (which was assigned via enhance)

  • Loading branch information...
Tobias von Klipstein
Tobias von Klipstein committed Apr 22, 2012
1 parent 54b44ea commit b0b60726b7db9bb927e099d34937aec1f30120f8
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinon-mocha.js
View
@@ -21,7 +21,7 @@ SinonMocha = {
afterEach: function(){
WrapMethod.restoreWrappedMethods();
- sinon.wrapMethod.restore();
+ SinonMocha.sinon.wrapMethod.restore();
}
};

0 comments on commit b0b6072

Please sign in to comment.