rspec/rspec-core — Issue #475: Spec run duration is wrong when using Spork
Author: rymai
Created: 2011-10-17 12:31:36+00:00
State: open

[This commit](https://github.com/rspec/rspec-core/commit/fd04952586c048beccd6f6a27dc14f9d82230814) cause a problem when Spork is used since the start time is set in the prefork block of Spork and duration will then be calculated from this time so it ends up in always increasing duration time.

Maybe the solution should come from Spork, like setting `$rspec_start_time ||= Time.now` at the top of the `Spork.each_run` block (as the temporary fix you gave in [this guard-rspec issue](https://github.com/guard/guard-rspec/issues/61)?