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

Adapt spec to now milestone specific text

Oliver Günther0c9158126ae5
diff --git a/spec/features/notifications/notification_center/notification_center_date_alerts_spec.rb b/spec/features/notifications/notification_center/notification_center_date_alerts_spec.rb
index 03b200dc6a3..ca720664d32 100644
--- a/spec/features/notifications/notification_center/notification_center_date_alerts_spec.rb
+++ b/spec/features/notifications/notification_center/notification_center_date_alerts_spec.rb
@@ -123,7 +123,7 @@ describe "Notification center date alerts", js: true, with_settings: { journal_a
center.expect_item(notification_wp_due_future, 'Finish date is in 3 days')
center.expect_item(notification_milestone_past, 'Overdue since 2 days')
- center.expect_item(notification_milestone_future, 'Finish date is in 1 day')
+ center.expect_item(notification_milestone_future, 'Milestone date is in 1 day')
# Doesn't show the date alert for the mention, not the alert
center.expect_item(notification_wp_double_mention, /(seconds|minutes) ago by Anonymous/)