mastodon/spec/fabricators/invite_fabricator.rb

9 lines
141 B
Ruby
Raw Permalink Normal View History

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