From 87ec5250b4c45c54e94ec92f71a8ddb665198e66 Mon Sep 17 00:00:00 2001 From: starswan Date: Fri, 11 Oct 2024 16:23:53 +0100 Subject: [PATCH] tweak --- spec/configuration/filter_parameter_logging_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/configuration/filter_parameter_logging_spec.rb b/spec/configuration/filter_parameter_logging_spec.rb index 78bdc32ec2b..de1ef05b4db 100644 --- a/spec/configuration/filter_parameter_logging_spec.rb +++ b/spec/configuration/filter_parameter_logging_spec.rb @@ -6,8 +6,8 @@ specify "all anonymised analytics fields should be filtered from logs" do analytics_hidden_pii.each_value do |shared| - shared.each do |field| - expect(filter_params).to include(field.to_sym) + shared.map(&:to_sym).each do |field| + expect(filter_params).to include(field) end end end