From 5b8da4a3b1a52bf746f2d4a3120b3b80025de2ac Mon Sep 17 00:00:00 2001
From: Molly Trombley-McCann <molly.trombley-mccann@coforma.io>
Date: Fri, 15 Nov 2024 10:26:34 -0800
Subject: [PATCH] Base form and evidence tests extracted

---
 app/sidekiq/decision_review/sc_status_updater_job.rb   |  4 ++--
 .../shared_examples_for_status_updater_jobs.rb         | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/app/sidekiq/decision_review/sc_status_updater_job.rb b/app/sidekiq/decision_review/sc_status_updater_job.rb
index 1c55781c030..0082bdb2768 100644
--- a/app/sidekiq/decision_review/sc_status_updater_job.rb
+++ b/app/sidekiq/decision_review/sc_status_updater_job.rb
@@ -26,8 +26,8 @@ def get_record_status(guid)
       decision_review_service.get_supplemental_claim(guid).body
     end
 
-    def get_evidence_status(uuid)
-      decision_review_service.get_supplemental_claim_upload(uuid:).body
+    def get_evidence_status(guid)
+      decision_review_service.get_supplemental_claim_upload(guid:).body
     end
 
     def evidence?
diff --git a/spec/sidekiq/decision_review/shared_examples_for_status_updater_jobs.rb b/spec/sidekiq/decision_review/shared_examples_for_status_updater_jobs.rb
index 1c4f6d1dfd7..ed98a64748b 100644
--- a/spec/sidekiq/decision_review/shared_examples_for_status_updater_jobs.rb
+++ b/spec/sidekiq/decision_review/shared_examples_for_status_updater_jobs.rb
@@ -205,7 +205,7 @@
     instance_double(Faraday::Response, body: response)
   end
 
-  let(:evidence_service_method) { SUBCLASS_INFO[subclass][:evidence_service_method].to_sym}
+  let(:evidence_service_method) { SUBCLASS_INFO[subclass][:evidence_service_method].to_sym }
 
   context 'SavedClaim records are present with completed status in LH and have associated evidence uploads' do
     let(:upload_id) { SecureRandom.uuid }
@@ -234,13 +234,13 @@
 
     it 'only sets delete_date for subclass with all attachments in vbms status' do
       expect(service).to receive(evidence_service_method).with(guid: upload_id)
-                                                                    .and_return(upload_response_vbms)
+                                                         .and_return(upload_response_vbms)
       expect(service).to receive(evidence_service_method).with(guid: upload_id2)
-                                                                    .and_return(upload_response_processing)
+                                                         .and_return(upload_response_processing)
       expect(service).to receive(evidence_service_method).with(guid: upload_id3)
-                                                                    .and_return(upload_response_vbms)
+                                                         .and_return(upload_response_vbms)
       expect(service).to receive(evidence_service_method).with(guid: upload_id4)
-                                                                    .and_return(upload_response_processing)
+                                                         .and_return(upload_response_processing)
 
       expect(service).to receive(service_method).with(guid1).and_return(response_complete)
       expect(service).to receive(service_method).with(guid2).and_return(response_complete)