From 311b5e4b5d533a441b71851e6fe264789b49d183 Mon Sep 17 00:00:00 2001 From: Jonathan Hooper Date: Fri, 13 Oct 2023 11:36:56 -0400 Subject: [PATCH] Remove trailing references to GPO in IdV We renamed the code that is used to verify by mail in #9136. This replaced "GPO" with more descriptive names. This commit removes a few lingering references to GPO. [skip changelog] --- app/services/idv/gpo_mail.rb | 2 +- ...po_otp_verification_step_spec.rb => enter_code_step_spec.rb} | 2 +- .../idv/steps/{gpo_step_spec.rb => request_letter_step_spec.rb} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename spec/features/idv/steps/{gpo_otp_verification_step_spec.rb => enter_code_step_spec.rb} (99%) rename spec/features/idv/steps/{gpo_step_spec.rb => request_letter_step_spec.rb} (99%) diff --git a/app/services/idv/gpo_mail.rb b/app/services/idv/gpo_mail.rb index 381657c1131..1656dffb21b 100644 --- a/app/services/idv/gpo_mail.rb +++ b/app/services/idv/gpo_mail.rb @@ -17,7 +17,7 @@ def profile_too_old? current_user.pending_profile.created_at < min_creation_date end - # Next two methods are analytics helpers used from GpoController and ReviewController + # Next two methods are analytics helpers used from RequestLetterController and ReviewController # Caveat: If the user succeeds on their final phone attempt, the :proof_address # RateLimiter is reset to 0. But they probably wouldn't be doing verify by mail diff --git a/spec/features/idv/steps/gpo_otp_verification_step_spec.rb b/spec/features/idv/steps/enter_code_step_spec.rb similarity index 99% rename from spec/features/idv/steps/gpo_otp_verification_step_spec.rb rename to spec/features/idv/steps/enter_code_step_spec.rb index f28ec15ac44..5f853329c49 100644 --- a/spec/features/idv/steps/gpo_otp_verification_step_spec.rb +++ b/spec/features/idv/steps/enter_code_step_spec.rb @@ -1,6 +1,6 @@ require 'rails_helper' -RSpec.feature 'idv gpo otp verification step' do +RSpec.feature 'idv enter letter code step' do include IdvStepHelper let(:otp) { 'ABC123' } diff --git a/spec/features/idv/steps/gpo_step_spec.rb b/spec/features/idv/steps/request_letter_step_spec.rb similarity index 99% rename from spec/features/idv/steps/gpo_step_spec.rb rename to spec/features/idv/steps/request_letter_step_spec.rb index b2459aa7b70..c27b794bcbf 100644 --- a/spec/features/idv/steps/gpo_step_spec.rb +++ b/spec/features/idv/steps/request_letter_step_spec.rb @@ -1,6 +1,6 @@ require 'rails_helper' -RSpec.feature 'idv gpo step' do +RSpec.feature 'idv request letter step' do include IdvStepHelper include OidcAuthHelper