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 meeting aaj spec

Dombi Attilab39d1dd2423c
diff --git a/modules/meeting/spec/models/meeting_acts_as_journalized_spec.rb b/modules/meeting/spec/models/meeting_acts_as_journalized_spec.rb
index 73e3e7d3c32..3b3dc5f34c0 100644
--- a/modules/meeting/spec/models/meeting_acts_as_journalized_spec.rb
+++ b/modules/meeting/spec/models/meeting_acts_as_journalized_spec.rb
@@ -78,7 +78,7 @@ RSpec.describe Meeting do
it 'has the updated_at of the meeting as the lower bound for validity_period and no upper bound' do
expect(meeting.last_journal.validity_period)
- .to eql(meeting.reload.updated_at...Float::INFINITY)
+ .to eql(meeting.reload.updated_at...)
end
end