1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-21 16:48:33 +00:00
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