announcement_fabricator.rb 140 B

123456
  1. Fabricator(:announcement) do
  2. text { Faker::Lorem.paragraph(sentence_count: 2) }
  3. published true
  4. starts_at nil
  5. ends_at nil
  6. end