Created
September 21, 2010 14:38
-
-
Save kernow/589770 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(options.type == 'spy'){ | |
// May have issues with scope/context that will need investigating if they crop up | |
expectation.original_method.apply(mock, arguments); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment