Wednesday, July 15, 2026 4:01:03 AM
> notification.rb
# frozen_string_literal: true

FactoryBot.define do
  factory :notification, class: "ESM::Notification" do
    association :community

    notification_type { ESM::Notification::TYPES.sample }
    notification_category { ESM::Notification::CATEGORIES.sample }
    notification_title { Faker::Lorem.sentence(word_count: 3) }
    notification_description { Faker::Lorem.paragraph }
    notification_color { ESM::Color.random }
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7