catstodon/spec/fabricators/invite_fabricator.rb
2023-06-10 18:29:01 +02:00

8 lines
141 B
Ruby

# frozen_string_literal: true
Fabricator(:invite) do
user { Fabricate.build(:user) }
expires_at nil
max_uses nil
uses 0
end