Skip to content
Browse files

Added mockEmpty

  • Loading branch information...
1 parent f8c7409 commit 7ee7d0df67f3b98e9996cd78c79c0827e1e42e28 @foobarfighter committed Jan 29, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/mock/screw_compat.js
View
4 src/mock/screw_compat.js
@@ -56,6 +56,10 @@ if (foounit.hostenv.type == 'node'){
return obj[funcStr];
});
+ foounit.addKeyword('mockEmpty', function (){
+ return foounit.keywords.mock(function (){});
+ });
+
foounit.addKeyword('haveBeenCalled', function (){
var equalMatcher = new foounit.keywords.equal();

0 comments on commit 7ee7d0d

Please sign in to comment.
Something went wrong with that request. Please try again.