mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
10 lines
237 B
Ruby
10 lines
237 B
Ruby
Fabricator(:user_email) do
|
|
email { sequence(:email) { |i| "bruce#{i}@wayne.com" } }
|
|
primary true
|
|
end
|
|
|
|
Fabricator(:alternate_email, from: :user_email) do
|
|
email { sequence(:email) { |i| "bwayne#{i}@wayne.com" } }
|
|
primary false
|
|
end
|