This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/spec/fabricators/announcement_fabricator.rb

9 lines
171 B
Ruby

# frozen_string_literal: true
Fabricator(:announcement) do
text { Faker::Lorem.paragraph(sentence_count: 2) }
published true
starts_at nil
ends_at nil
end