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 mail spec

Benjamin Bädorfa1d86a3db811
diff --git a/spec/features/notifications/digest_mail_spec.rb b/spec/features/notifications/digest_mail_spec.rb
index 20c70a18236..92c94d49235 100644
--- a/spec/features/notifications/digest_mail_spec.rb
+++ b/spec/features/notifications/digest_mail_spec.rb
@@ -85,7 +85,7 @@ describe "Digest email", type: :feature, js: true do
5.times { perform_enqueued_jobs }
expect(ActionMailer::Base.deliveries.length)
- .to be 1
+ .to be 2
expect(ActionMailer::Base.deliveries.first.subject)
.to eql I18n.t(:'mail.digests.work_packages.subject',