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/notification_setting_factor...

19 lines
374 B

FactoryBot.define do
factory :notification_setting do
channel { :mail }
all { false }
involved { true }
mentioned { true }
watched { true }
project { nil } # Default settings
user
factory :mail_notification_setting do
channel { :mail }
end
factory :in_app_notification_setting do
channel { :in_app }
end
end
end