From a044b6c5e57a338957d69eab4bc74c107a58258a Mon Sep 17 00:00:00 2001 From: Bernardo Anderson Date: Wed, 10 Sep 2025 13:59:17 -0500 Subject: [PATCH] CP-10278 - Fix tests --- spec/factories/templates.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/factories/templates.rb b/spec/factories/templates.rb index eb0ea8ba..784fbf09 100644 --- a/spec/factories/templates.rb +++ b/spec/factories/templates.rb @@ -18,11 +18,11 @@ FactoryBot.define do end after(:create) do |template, ev| - number_words = %w[first second third fourth fifth sixth seventh eighth ninth tenth] + party_names = ['Employee', 'Manager', 'Third Party', 'Fourth Party', 'Fifth Party', 'Sixth Party', 'Seventh Party', 'Eighth Party', 'Ninth Party', 'Tenth Party'] template.submitters = Array.new(ev.submitter_count) do |i| { - 'name' => "#{number_words[i]&.capitalize} Party", + 'name' => party_names[i], 'uuid' => SecureRandom.uuid } end