mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 00:23:41 +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
|