hyperstack
hyperstack copied to clipboard
Hyperspec Timecop is a buggy
Timecop.freeze ... Timecop.travel(Time.now+30.seconds). # time moves a few seconds on the display then freezes ... Timecop.travel(Time.now+1.minute) # time now moves 30 seconds ... another scenario
time is running normally
Timecop.travel(Time.now+30.seconds) Timecop.freeze. # time does not update.
It seems that the multiple commands coming from the server are confusing things.
This seems to work sort of okay: Timecop.travel(TIme.now+30.seconds) sleep 1 Timecop.freeze