Created
May 13, 2009 00:23
-
-
Save lucashungaro/110804 to your computer and use it in GitHub Desktop.
This file contains 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
# default - allows the condition | |
Mocha::Configuration.allow(condition) | |
# just emits a warning when the condition occurs | |
Mocha::Configuration.warn_when(condition) | |
# throws and error when the condition occurs | |
Mocha::Configuration.prevent(condition) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment