Created
June 28, 2010 22:17
-
-
Save kmayer/456449 to your computer and use it in GitHub Desktop.
mocha integration with cucumber
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
# For mocha integration, add this file into features/support folder | |
require "mocha" | |
World(Mocha::API) | |
Before do | |
mocha_setup | |
end | |
After do | |
begin | |
mocha_verify | |
ensure | |
mocha_teardown | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment