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