Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

319 B
Raw Blame
# frozen_string_literal: true

FactoryBot.define do
  factory :announcement do
    text { "Announcement text" }
    show_until { Date.today + 14.days }
    active { true }

    factory :active_announcement do
      active { true }
    end

    factory :inactive_announcement do
      active { false }
    end
  end
end