From 767f27929d31b002cb5d141abd253f1ae4762db5 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 19 Sep 2018 22:40:00 +0800 Subject: [PATCH] Rename `Jobs::RecoverPostUploads` to rerun the job take 2. --- .../{recover_post_uploads.rb => post_uploads_recovery.rb} | 0 ...cover_post_uploads_spec.rb => post_uploads_recovery_spec.rb} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename app/jobs/onceoff/{recover_post_uploads.rb => post_uploads_recovery.rb} (100%) rename spec/jobs/{recover_post_uploads_spec.rb => post_uploads_recovery_spec.rb} (91%) diff --git a/app/jobs/onceoff/recover_post_uploads.rb b/app/jobs/onceoff/post_uploads_recovery.rb similarity index 100% rename from app/jobs/onceoff/recover_post_uploads.rb rename to app/jobs/onceoff/post_uploads_recovery.rb diff --git a/spec/jobs/recover_post_uploads_spec.rb b/spec/jobs/post_uploads_recovery_spec.rb similarity index 91% rename from spec/jobs/recover_post_uploads_spec.rb rename to spec/jobs/post_uploads_recovery_spec.rb index 0448bc9adcf..b415008d9ca 100644 --- a/spec/jobs/recover_post_uploads_spec.rb +++ b/spec/jobs/post_uploads_recovery_spec.rb @@ -1,6 +1,6 @@ require 'rails_helper' -RSpec.describe Jobs::RecoverPostUploads do +RSpec.describe Jobs::PostUploadsRecovery do describe '#grace_period' do it 'should restrict the grace period to the right range' do SiteSetting.purge_deleted_uploads_grace_period_days =