discourse/spec/fabricators/email_token_fabricator.rb

5 lines
78 B
Ruby

Fabricator(:email_token) do
user
email { |attrs| attrs[:user].email }
end