Sha256: 86c050c94b890e77640088bfe1f281c9b7e8f9a40513db9137c7e64569619557
Contents?: true
Size: 253 Bytes
Versions: 4
Compression:
Stored size: 253 Bytes
Contents
require 'tork/config' Tork::Config.after_fork_hooks << proc do |worker_number| # for compatitibilty with parallel_tests gem, # store numbers as strings: "", "2", "3", "4" ENV['TEST_ENV_NUMBER'] = (worker_number + 1).to_s if worker_number > 0 end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tork-16.0.0 | lib/tork/config/parallel_tests.rb |
tork-15.1.0 | lib/tork/config/parallel_tests.rb |
tork-15.0.1 | lib/tork/config/parallel_tests.rb |
tork-15.0.0 | lib/tork/config/parallel_tests.rb |