mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:43:19 +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(:secondary_email, from: :user_email) do
|
|
email { sequence(:email) { |i| "bwayne#{i}@wayne.com" } }
|
|
primary false
|
|
end
|