Fix RSpec/TimecopTravel offenses
Ref: #214432 (closed)
What does this MR do and why?
This MR fixes the RSpec/TimecopTravel
remaining offenses except for qa/spec/support/repeater_spec.rb
which I could not fix it entirely yet.
Before | After |
---|---|
Timecop.travel |
travel_to |
Why are we doing this?
Rails introduced a TimeHelpers so we don't need this gem anymore.
We will remove it in a follow up MR.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Max Orefice