DEV: Remove extraneous spec code (#29386)

namely `js: true`, requiring `rails_helper`, and default `freeze_time` args
This commit is contained in:
Jarek Radosz
2024-10-24 14:15:32 +02:00
committed by GitHub
parent f84f7436c5
commit 587264f9d2
15 changed files with 15 additions and 19 deletions

View File

@ -287,7 +287,7 @@ RSpec.shared_examples "remote backup store" do
def upload_file
# time has fidelity issues freeze a time that is not going to be prone
# to that
freeze_time(Time.now.to_s)
freeze_time(Time.now.round)
backup = BackupFile.new(filename: "foo.tar.gz", size: 33, last_modified: Time.zone.now)