Skip to content

Commit

Permalink
allow unique test_user creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Manav Patel committed Oct 28, 2024
1 parent 0132c93 commit 0301bc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/factories/factories.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0301bc0

Please sign in to comment.