mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 09:17:30 +08: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
|