discourse/spec/fabricators/email_log_fabricator.rb

6 lines
126 B
Ruby

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