method
common_setup
1.1.4 -
Show latest stable
-
0 notes -
Class: Autotest::AutotestHelper
- 1.1.4 (0)
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
common_setup()
public
Hide source
# File spec/autotest/rspec_spec.rb, line 28 def common_setup @proc = mock Proc @kernel = mock Kernel @kernel.stub!(:proc).and_return @proc File.stub!(:exists).and_return true @windows_alt_separator = "\\" @posix_separator = '/' @rspec_output = rspec_output end