method
common_setup
1.1.4 -
Show latest stable
- Class:
Autotest::AutotestHelper
common_setup()public
No documentation available.
# 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