Skip to content

Instantly share code, notes, and snippets.

@fidothe
Forked from drnic/mocha.rb
Created May 12, 2009 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fidothe/110411 to your computer and use it in GitHub Desktop.
Save fidothe/110411 to your computer and use it in GitHub Desktop.
# For mocha integration, add this file into features/support folder
require "mocha"
World(Mocha::Standalone)
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