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

Make Calendar Widget specs pass on Sundays

Alexander Brandon Colesb46eade3b878
diff --git a/modules/calendar/spec/features/calendar_widget_spec.rb b/modules/calendar/spec/features/calendar_widget_spec.rb
index 8957ade0dd3..df46d9ca153 100644
--- a/modules/calendar/spec/features/calendar_widget_spec.rb
+++ b/modules/calendar/spec/features/calendar_widget_spec.rb
@@ -41,7 +41,7 @@ RSpec.describe "Calendar Widget", :js, with_settings: { start_of_week: 1 } do
due_date: Time.zone.today.beginning_of_week.next_occurring(:thursday))
end
shared_let(:meeting) do
- create(:meeting, title: "Weekly", project:, start_time: Time.zone.tomorrow + 10.hours)
+ create(:meeting, title: "Weekly", project:, start_time: Time.zone.today.beginning_of_week.next_occurring(:tuesday) + 10.hours)
end
let(:overview_page) do