Skip to content

Fix RSpec/TimecopTravel offenses

Max Orefice requested to merge morefice/fix-timecop-travel into master

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.

Edited by Max Orefice

Merge request reports

Loading