From 554d4a7024d66acc3a5cd3a15eec826f8e982ff4 Mon Sep 17 00:00:00 2001 From: tooyosi Date: Mon, 2 Sep 2024 11:49:50 +0100 Subject: [PATCH] [issue-4351] hound cleanups --- app/controllers/api/v1/users_controller.rb | 2 +- spec/workers/user_info_changed_mailer_worker_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/api/v1/users_controller.rb b/app/controllers/api/v1/users_controller.rb index c4b5632bb..78ff809d1 100644 --- a/app/controllers/api/v1/users_controller.rb +++ b/app/controllers/api/v1/users_controller.rb @@ -119,4 +119,4 @@ def filter_by_params def downcase_filter_params(param_value) param_value.split(',').map(&:downcase) end -end \ No newline at end of file +end diff --git a/spec/workers/user_info_changed_mailer_worker_spec.rb b/spec/workers/user_info_changed_mailer_worker_spec.rb index 64fed9309..39bc6f02e 100644 --- a/spec/workers/user_info_changed_mailer_worker_spec.rb +++ b/spec/workers/user_info_changed_mailer_worker_spec.rb @@ -3,6 +3,7 @@ RSpec.describe UserInfoChangedMailerWorker do let(:project) { create(:project) } let(:user) { create(:user) } + let(:prev_pass) { 'oldpassword@example.com' } context 'email delivery' do it 'delivers the mail' do @@ -10,7 +11,6 @@ end it 'delivers to the right recipients' do - let(:prev_pass) { 'oldpassword@example.com' } subject.perform(user.id, 'email', prev_pass) mail = ActionMailer::Base.deliveries.last expect(mail.to).to eq([user.email, prev_pass])