discourse/spec/fabricators/user_email_fabricator.rb

10 lines
237 B
Ruby
Raw Normal View History

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