instante-social/spec/fabricators/invite_fabricator.rb

7 lines
83 B
Ruby

Fabricator(:invite) do
user
expires_at nil
max_uses nil
uses 0
end