lib/knapsack_pro/tracker.rb in knapsack_pro-2.8.0 vs lib/knapsack_pro/tracker.rb in knapsack_pro-2.9.0
- old
+ new
@@ -88,13 +88,9 @@
@test_files_with_time[current_test_path] = hash
end
def now_without_mock_time
- if defined?(Timecop)
- Time.now_without_mock_time
- else
- Time.raw_now
- end
+ Process.clock_gettime(Process::CLOCK_MONOTONIC)
end
end
end