From e01e74c4a7e8366635ba3293ddc652fd1fe5c83e Mon Sep 17 00:00:00 2001 From: nhansen3 Date: Fri, 25 Oct 2024 13:35:02 -0600 Subject: [PATCH] rubocopn --- .../national_hearing_queue_entry_spec.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spec/models/national_hearing_queue_entry_spec.rb b/spec/models/national_hearing_queue_entry_spec.rb index d471ae3b97..3645b295e8 100644 --- a/spec/models/national_hearing_queue_entry_spec.rb +++ b/spec/models/national_hearing_queue_entry_spec.rb @@ -7,7 +7,7 @@ context "when appeals have been staged" do it "refreshes the view and returns the proper appeals", bypass_cleaner: true do - #refresh in case anything was run in rails console previously + # refresh in case anything was run in rails console previously NationalHearingQueueEntry.refresh # AMA @@ -15,7 +15,7 @@ FactoryBot.create(:appeal) appeal_completed = FactoryBot.create(:appeal, :with_schedule_hearing_tasks) - ScheduleHearingTask.find_by(appeal_id: appeal_completed.id, appeal_type: "Appeal").update(status: 'completed') + ScheduleHearingTask.find_by(appeal_id: appeal_completed.id, appeal_type: "Appeal").update(status: "completed") # LEGACY case1 = FactoryBot.create(:case, bfkey: "700230001041", bfcorlid: "100000101011") @@ -31,22 +31,22 @@ :with_veteran, vacols_case: case2) legacy_appeal_completed = FactoryBot.create(:legacy_appeal, - :with_schedule_hearing_tasks, - :with_veteran, - vacols_case: case3) + :with_schedule_hearing_tasks, + :with_veteran, + vacols_case: case3) - ScheduleHearingTask.find_by(appeal_id: legacy_appeal_completed.id, appeal_type: "LegacyAppeal").update(status: 'completed') + ScheduleHearingTask.find_by(appeal_id: legacy_appeal_completed.id, appeal_type: "LegacyAppeal") + .update(status: "completed") expect(NationalHearingQueueEntry.count).to eq 0 NationalHearingQueueEntry.refresh expect(NationalHearingQueueEntry.count).to eq 2 - #first created appeal is the only ama appeal that should be in the db (id: 1) + # first created appeal is the only ama appeal that should be in the db (id: 1) expect(NationalHearingQueueEntry.first.appeal_id).to eq 1 - #first created legacy appeal is the only legacy appeal that should be in the db (id: 1) + # first created legacy appeal is the only legacy appeal that should be in the db (id: 1) expect(NationalHearingQueueEntry.second.appeal_id).to eq 1 - clean_up_after_threads end end