From 0301bc0fa7cf174699995da6acdfc10b70da9d15 Mon Sep 17 00:00:00 2001 From: Manav Patel Date: Mon, 28 Oct 2024 19:41:10 -0400 Subject: [PATCH] allow unique test_user creation --- spec/factories/factories.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/factories/factories.rb b/spec/factories/factories.rb index 27b7792796b..beb1c2af286 100644 --- a/spec/factories/factories.rb +++ b/spec/factories/factories.rb @@ -640,9 +640,9 @@ end factory :test_user, class: User do - username 'username' + sequence(:username) { |n| "username#{n}" } name 'full name' - email 'abc@mailinator.com' + sequence(:email) { |n| "user#{n}@mailinator.com" } end factory :survey_deployment, class: SurveyDeployment do