test/SpaceTree_spec.rb in perobs-4.0.0 vs test/SpaceTree_spec.rb in perobs-4.1.0

- old
+ new

@@ -25,16 +25,19 @@ require 'fileutils' require 'spec_helper' require 'perobs/SpaceTree' +require 'perobs/ProgressMeter' describe PEROBS::SpaceTree do before(:all) do @db_dir = generate_db_name('SpaceTree') FileUtils.mkdir_p(@db_dir) - @m = PEROBS::SpaceTree.new(@db_dir) + @m = PEROBS::SpaceTree.new(@db_dir, PEROBS::ProgressMeter.new) + PEROBS.log.level = Logger::ERROR + PEROBS.log.open($stderr) end after(:all) do FileUtils.rm_rf(@db_dir) end