From c8daeb7708e55dfa7b3cba25e04d5dbfa69129f4 Mon Sep 17 00:00:00 2001 From: OJ Bucao <9256675+ojbucao@users.noreply.github.com> Date: Thu, 26 Dec 2024 15:20:46 -0800 Subject: [PATCH] [ART] (fix) Minor rubocop issue; Unskip skipped specs from c3f55704fbb3086a1d0ee7e885bf63cbf13e14fa because they are passing --- .../power_of_attorney_form.rb | 2 +- .../v0/power_of_attorney_requests_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_form.rb b/modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_form.rb index c7d28334141..1f66334e366 100644 --- a/modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_form.rb +++ b/modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_form.rb @@ -2,7 +2,7 @@ module AccreditedRepresentativePortal class PowerOfAttorneyForm < ApplicationRecord - self.ignored_columns += ["city_bidx", "state_bidx", "zipcode_bidx"] + self.ignored_columns += %w[city_bidx state_bidx zipcode_bidx] belongs_to :power_of_attorney_request, class_name: 'AccreditedRepresentativePortal::PowerOfAttorneyRequest', diff --git a/modules/accredited_representative_portal/spec/requests/accredited_representative_portal/v0/power_of_attorney_requests_spec.rb b/modules/accredited_representative_portal/spec/requests/accredited_representative_portal/v0/power_of_attorney_requests_spec.rb index 863a0d4cc8c..30694385f7f 100644 --- a/modules/accredited_representative_portal/spec/requests/accredited_representative_portal/v0/power_of_attorney_requests_spec.rb +++ b/modules/accredited_representative_portal/spec/requests/accredited_representative_portal/v0/power_of_attorney_requests_spec.rb @@ -23,7 +23,7 @@ end describe 'GET /accredited_representative_portal/v0/power_of_attorney_requests' do - skip 'returns the list of power of attorney requests' do + it 'returns the list of power of attorney requests' do poa_requests get('/accredited_representative_portal/v0/power_of_attorney_requests') @@ -104,7 +104,7 @@ end describe 'GET /accredited_representative_portal/v0/power_of_attorney_requests/:id' do - skip 'returns the details of a specific power of attorney request' do + it 'returns the details of a specific power of attorney request' do get("/accredited_representative_portal/v0/power_of_attorney_requests/#{poa_request.id}") parsed_response = JSON.parse(response.body)