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

Check that only the expected date is in the list

Klaus Zanders56258277555d
diff --git a/modules/meeting/spec/services/meetings/icalendar_builder_spec.rb b/modules/meeting/spec/services/meetings/icalendar_builder_spec.rb
index a45db87cfc2..6b3764c7cbb 100644
--- a/modules/meeting/spec/services/meetings/icalendar_builder_spec.rb
+++ b/modules/meeting/spec/services/meetings/icalendar_builder_spec.rb
@@ -281,7 +281,7 @@ RSpec.describe Meetings::IcalendarBuilder,
expect(event.exdate).not_to be_empty
exdate_values = event.exdate.map(&:value)
- expect(exdate_values).to include(second_occurrence.start_time)
+ expect(exdate_values).to contain_exactly(second_occurrence.start_time)
end
end