mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
DEV: Remove extraneous spec code (#29386)
namely `js: true`, requiring `rails_helper`, and default `freeze_time` args
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user