nkryptic (owner)

Fork Of

gist: 80554 by drnic For mocha integration into ...

Revisions

gist: 82197 Download_button fork
public
Public Clone URL: git://gist.github.com/82197.git
Embed All Files: show embed
features/support/mocha.rb #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# For mocha integration, add this file into features/support folder
 
require "mocha"
 
World { |world| world.extend Mocha::Standalone }
 
Before do
  mocha_setup
end
 
After do
  begin
    mocha_verify
  ensure
    mocha_teardown
  end
end