From 0fa34e788c8bd244ad507e0a3a50180750a67f46 Mon Sep 17 00:00:00 2001 From: Emily Nguyen Date: Mon, 7 Oct 2024 14:42:00 -0500 Subject: [PATCH] rubocop --- .../sign_up_service_updater_job_spec.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/sidekiq/terms_of_use/sign_up_service_updater_job_spec.rb b/spec/sidekiq/terms_of_use/sign_up_service_updater_job_spec.rb index e33b3f55f7..16094d5b2a 100644 --- a/spec/sidekiq/terms_of_use/sign_up_service_updater_job_spec.rb +++ b/spec/sidekiq/terms_of_use/sign_up_service_updater_job_spec.rb @@ -223,13 +223,13 @@ allow(service_instance).to receive(:status).and_return(status) end - it 'it updates the terms of use agreement in sign up service' do + it 'updates the terms of use agreement in sign up service' do job.perform(user_account_uuid, version) expect(service_instance).to have_received(:agreements_decline).with(icn: user_account.icn) end - it 'it does not log that the agreement has not changed' do + it 'does not log that the agreement has not changed' do job.perform(user_account_uuid, version) expect(Rails.logger).not_to have_received(:info).with(expected_log, icn:) @@ -254,7 +254,7 @@ expect(Rails.logger).to have_received(:info).with(expected_log, icn:) end - it 'it does not update terms of use agreement in sign up service' do + it 'does not update terms of use agreement in sign up service' do job.perform(user_account_uuid, version) expect(service_instance).not_to have_received(:agreements_accept) @@ -273,18 +273,18 @@ allow(service_instance).to receive(:agreements_accept) end - it 'it does not log that the agreement has not changed' do + it 'does not log that the agreement has not changed' do job.perform(user_account_uuid, version) expect(Rails.logger).not_to have_received(:info).with(expected_log, icn:) end - it 'it updates the terms of use agreement in sign up service' do + it 'updates the terms of use agreement in sign up service' do job.perform(user_account_uuid, version) expect(service_instance).to have_received(:agreements_accept).with(icn: user_account.icn, - signature_name: common_name, - version:) + signature_name: common_name, + version:) end end