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

Fixed meetings copy spec that used Time's next_week in a wrong way

Andreas Pfohl6ac5fbf9947e
diff --git a/modules/meeting/spec/features/meetings_copy_spec.rb b/modules/meeting/spec/features/meetings_copy_spec.rb
index b8722e1bdd7..b1b871df2a2 100644
--- a/modules/meeting/spec/features/meetings_copy_spec.rb
+++ b/modules/meeting/spec/features/meetings_copy_spec.rb
@@ -44,7 +44,7 @@ RSpec.describe 'Meetings copy', :js, :with_cuprite do
member_with_permissions: { project => permissions })
end
- shared_let(:start_time) { Time.current.tomorrow.at_noon }
+ shared_let(:start_time) { Time.current.beginning_of_week.at_noon }
shared_let(:duration) { 1.5 }
shared_let(:agenda_text) { "We will talk" }
shared_let(:meeting) do