discourse/spec/fabricators/email_log_fabricator.rb

5 lines
126 B
Ruby

Fabricator(:email_log,) do
user
to_address { sequence(:address) { |i| "blah#{i}@example.com" } }
email_type :invite
end