spec/integration_spec.rb in parallel_tests-0.3.0 vs spec/integration_spec.rb in parallel_tests-0.3.1

- old
+ new

@@ -76,8 +76,8 @@ write 'xxx4_spec.rb', 'describe("it"){it("should"){sleep 2}}' write 'xxx5_spec.rb', 'describe("it"){it("should"){sleep 2}}' write 'xxx6_spec.rb', 'describe("it"){it("should"){sleep 2}}' t = Time.now run_specs :processes => 6 - (Time.now - t).should < 5 + (Time.now - t).should < (Parallel.processor_count == 1 ? 10 : 5) end end \ No newline at end of file