build_tests_spec silences $stdout by default

This commit is contained in:
Josh Holtrop 2013-06-16 22:57:54 -04:00
parent 036b968ce9
commit 0752765c8d

View File

@ -9,6 +9,7 @@ describe Rscons do
FileUtils.cp_r(build_test_rel_path, 'build_tests/test')
@owd = Dir.pwd
Dir.chdir('build_tests/test')
$stdout.stub(:puts) { nil }
end
instance_eval(File.read(File.join(build_test_rel_path, 'spec.rb')))
after do