You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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