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

Move the meeting creation date to tomorrow, otherwise the spec will fail if 10 hours have past from today.

Dombi Attila4e7d28dbfe81
diff --git a/modules/calendar/spec/features/calendar_widget_spec.rb b/modules/calendar/spec/features/calendar_widget_spec.rb
index 799dc07f3c9..29d9f0fedf4 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_cuprite, with_settings: { start_of_
due_date: Time.zone.today.beginning_of_week.next_occurring(:thursday))
end
shared_let(:meeting) do
- create(:structured_meeting, title: "Weekly", project:, start_time: Time.zone.today + 10.hours)
+ create(:structured_meeting, title: "Weekly", project:, start_time: Time.zone.tomorrow + 10.hours)
end
let(:overview_page) do