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

Fix digest mail spec

Benjamin Bädorf58eea78b68de
diff --git a/spec/features/notifications/digest_mail_spec.rb b/spec/features/notifications/digest_mail_spec.rb
index 70fa9d97f9e..32cc5a24536 100644
--- a/spec/features/notifications/digest_mail_spec.rb
+++ b/spec/features/notifications/digest_mail_spec.rb
@@ -15,36 +15,16 @@ describe "Digest email", type: :feature, js: true do
current_user do
FactoryBot.create :user,
notification_settings: [
- FactoryBot.build(:mail_notification_setting,
- involved: false,
- watched: false,
- mentioned: true,
- work_package_commented: false,
- work_package_created: false,
- work_package_processed: false,
- work_package_prioritized: false,
- work_package_scheduled: false,
- all: false),
- FactoryBot.build(:in_app_notification_setting,
- involved: false,
- watched: false,
- mentioned: true,
- work_package_commented: false,
- work_package_created: false,
- work_package_processed: false,
- work_package_prioritized: false,
- work_package_scheduled: false,
- all: false),
FactoryBot.build(:mail_digest_notification_setting,
- involved: false,
- watched: false,
- mentioned: false,
- work_package_commented: false,
- work_package_created: false,
- work_package_processed: false,
- work_package_prioritized: false,
- work_package_scheduled: false,
- all: false)
+ involved: true,
+ watched: true,
+ mentioned: true,
+ work_package_commented: true,
+ work_package_created: true,
+ work_package_processed: true,
+ work_package_prioritized: true,
+ work_package_scheduled: true,
+ all: true)
]
end