discourse/spec/fabricators/email_token_fabricator.rb

7 lines
109 B
Ruby

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