Skip to content

Instantly share code, notes, and snippets.

@mattsnyder
Forked from drnic/mocha.rb
Created June 10, 2010 19:22
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 mattsnyder/433498 to your computer and use it in GitHub Desktop.
Save mattsnyder/433498 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