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