announcement_fabricator.rb 171 B

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