module ParallelTests
def self.determine_number_of_processes(count)
def self.determine_number_of_processes(count) [ count, ENV["PARALLEL_TEST_PROCESSORS"], Parallel.processor_count ].detect{|c| not c.to_s.strip.empty? }.to_i end
def self.determine_number_of_processes(count) [ count, ENV["PARALLEL_TEST_PROCESSORS"], Parallel.processor_count ].detect{|c| not c.to_s.strip.empty? }.to_i end