OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/spec/factories/announcement_factory.rb

15 lines
269 B

FactoryGirl.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