From 8ef84268c25661e475062923c708480857aa4316 Mon Sep 17 00:00:00 2001 From: Sonia Connolly Date: Thu, 14 Dec 2023 10:46:57 -0800 Subject: [PATCH] Capitalization: Rename LexisnexisInstantVerify to LexisNexisInstantVerify [skip changelog] --- app/controllers/concerns/idv/ab_test_analytics_concern.rb | 2 +- ...snexis_instant_verify.rb => lexis_nexis_instant_verify.rb} | 2 +- app/services/proofing/resolution/progressive_proofer.rb | 2 +- .../concerns/idv/ab_test_analytics_concern_spec.rb | 4 ++-- ...tant_verify_spec.rb => lexis_nexis_instant_verify_spec.rb} | 4 ++-- spec/services/proofing/resolution/progressive_proofer_spec.rb | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) rename app/services/idv/{lexisnexis_instant_verify.rb => lexis_nexis_instant_verify.rb} (97%) rename spec/services/idv/{lexisnexis_instant_verify_spec.rb => lexis_nexis_instant_verify_spec.rb} (95%) diff --git a/app/controllers/concerns/idv/ab_test_analytics_concern.rb b/app/controllers/concerns/idv/ab_test_analytics_concern.rb index 62053809dd3..afbedba2364 100644 --- a/app/controllers/concerns/idv/ab_test_analytics_concern.rb +++ b/app/controllers/concerns/idv/ab_test_analytics_concern.rb @@ -9,7 +9,7 @@ def ab_test_analytics_buckets end if defined?(document_capture_session_uuid) - lniv_args = LexisnexisInstantVerify.new(document_capture_session_uuid). + lniv_args = LexisNexisInstantVerify.new(document_capture_session_uuid). workflow_ab_test_analytics_args buckets = buckets.merge(lniv_args) end diff --git a/app/services/idv/lexisnexis_instant_verify.rb b/app/services/idv/lexis_nexis_instant_verify.rb similarity index 97% rename from app/services/idv/lexisnexis_instant_verify.rb rename to app/services/idv/lexis_nexis_instant_verify.rb index f4cf7f07d13..4d814ee659f 100644 --- a/app/services/idv/lexisnexis_instant_verify.rb +++ b/app/services/idv/lexis_nexis_instant_verify.rb @@ -1,5 +1,5 @@ module Idv - class LexisnexisInstantVerify + class LexisNexisInstantVerify attr_reader :document_capture_session_uuid def initialize(document_capture_session_uuid) diff --git a/app/services/proofing/resolution/progressive_proofer.rb b/app/services/proofing/resolution/progressive_proofer.rb index ec442180088..6aed174e67c 100644 --- a/app/services/proofing/resolution/progressive_proofer.rb +++ b/app/services/proofing/resolution/progressive_proofer.rb @@ -259,7 +259,7 @@ def resolution_proofer end def lexisnexis_instant_verify_workflow - ab_test_variables = Idv::LexisnexisInstantVerify.new(instant_verify_ab_test_discriminator). + ab_test_variables = Idv::LexisNexisInstantVerify.new(instant_verify_ab_test_discriminator). workflow_ab_testing_variables ab_test_variables[:instant_verify_workflow] end diff --git a/spec/controllers/concerns/idv/ab_test_analytics_concern_spec.rb b/spec/controllers/concerns/idv/ab_test_analytics_concern_spec.rb index 6ae07e76105..0144f341918 100644 --- a/spec/controllers/concerns/idv/ab_test_analytics_concern_spec.rb +++ b/spec/controllers/concerns/idv/ab_test_analytics_concern_spec.rb @@ -17,13 +17,13 @@ def document_capture_session_uuid let(:acuant_sdk_args) { { as_bucket: :as_value } } let(:instant_verify_sdk_args) { { iv_bucket: :iv_value } } - let(:lniv) { Idv::LexisnexisInstantVerify.new(controller.document_capture_session_uuid) } + let(:lniv) { Idv::LexisNexisInstantVerify.new(controller.document_capture_session_uuid) } before do allow(subject).to receive(:current_user).and_return(user) expect(subject).to receive(:acuant_sdk_ab_test_analytics_args). and_return(acuant_sdk_args) - allow(Idv::LexisnexisInstantVerify).to receive(:new). + allow(Idv::LexisNexisInstantVerify).to receive(:new). and_return(lniv) expect(lniv).to receive(:workflow_ab_test_analytics_args). and_return(instant_verify_sdk_args) diff --git a/spec/services/idv/lexisnexis_instant_verify_spec.rb b/spec/services/idv/lexis_nexis_instant_verify_spec.rb similarity index 95% rename from spec/services/idv/lexisnexis_instant_verify_spec.rb rename to spec/services/idv/lexis_nexis_instant_verify_spec.rb index 660f27c4a82..2b0e5ff8ce4 100644 --- a/spec/services/idv/lexisnexis_instant_verify_spec.rb +++ b/spec/services/idv/lexis_nexis_instant_verify_spec.rb @@ -1,12 +1,12 @@ require 'rails_helper' -RSpec.describe Idv::LexisnexisInstantVerify do +RSpec.describe Idv::LexisNexisInstantVerify do let(:session_uuid) { SecureRandom.uuid } let(:default_workflow) { 'legacy_workflow' } let(:alternate_workflow) { 'equitable_workflow' } let(:ab_testing_enabled) { false } - subject { Idv::LexisnexisInstantVerify.new(session_uuid) } + subject { Idv::LexisNexisInstantVerify.new(session_uuid) } before do allow(IdentityConfig.store). diff --git a/spec/services/proofing/resolution/progressive_proofer_spec.rb b/spec/services/proofing/resolution/progressive_proofer_spec.rb index 534f77b4e44..337528cfff9 100644 --- a/spec/services/proofing/resolution/progressive_proofer_spec.rb +++ b/spec/services/proofing/resolution/progressive_proofer_spec.rb @@ -139,10 +139,10 @@ end it 'uses the selected workflow' do - lniv = Idv::LexisnexisInstantVerify.new(dcs_uuid) + lniv = Idv::LexisNexisInstantVerify.new(dcs_uuid) expect(lniv).to receive(:workflow_ab_testing_variables). and_return(ab_test_variables) - expect(Idv::LexisnexisInstantVerify).to receive(:new). + expect(Idv::LexisNexisInstantVerify).to receive(:new). and_return(lniv) expect(Proofing::LexisNexis::InstantVerify::Proofer).to receive(:new). with(hash_including(instant_verify_workflow: instant_verify_workflow)).