Update documentation for time sensitive tests
The documentation in question: https://docs.gitlab.com/ee/development/testing_guide/best_practices.html#time-sensitive-tests
The following discussion from !114511 (merged) should be addressed:
-
@godfat-gitlab started a discussion: (+2 comments) As far as I can tell, since we're using
travel_to
with a block, we don't need this. The block should take care to travel back when the block ended.This method also accepts a block, which will return the current time back to its original state at the end of the block:
Edited by Lin Jen-Shin