test/test_safety.rb in data_miner-2.0.3 vs test/test_safety.rb in data_miner-2.1.0

- old
+ new

@@ -1,8 +1,11 @@ # -*- encoding: utf-8 -*- require 'helper' require 'earth' +require 'lock_method' +DataMiner::Run.lock_method :start + # use earth, which has a plethora of real-world data_miner blocks Earth.init :locality, :pet, :load_data_miner => true, :apply_schemas => true describe DataMiner do describe "when being run in a multi-threaded environment" do