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 specs for ical generator service

Klaus Zanders4a9b5b0f65a1
diff --git a/modules/meeting/spec/services/recurring_meetings/ical_service_spec.rb b/modules/meeting/spec/services/recurring_meetings/ical_service_spec.rb
index f4982a6825c..97c4faee7c3 100644
--- a/modules/meeting/spec/services/recurring_meetings/ical_service_spec.rb
+++ b/modules/meeting/spec/services/recurring_meetings/ical_service_spec.rb
@@ -78,7 +78,7 @@ RSpec.describe RecurringMeetings::ICalService, type: :model do # rubocop:disable
expect(series_ical).to include("SUMMARY:Weekly")
expect(series_ical).to include("CN=OpenProject:mailto:[email protected]")
expect(series_ical).to include("ATTENDEE;CN=Bob Barker;[email protected];PARTSTAT=NEEDS-ACTION;RSVP=TRU")
- expect(series_ical).to include("ATTENDEE;CN=Foo Fooer;[email protected];PARTSTAT=NEEDS-ACTION;RSVP=TRUE")
+ expect(series_ical).to include("ATTENDEE;CN=Foo Fooer;[email protected];PARTSTAT=ACCEPTED;RSVP=FALSE")
expect(series_ical).to include("RRULE:FREQ=WEEKLY;UNTIL=20251202T000000Z")
end
end
@@ -99,7 +99,7 @@ RSpec.describe RecurringMeetings::ICalService, type: :model do # rubocop:disable
expect(series_ical).to include("LOCATION:https://example.com/meet/important-meeting")
expect(series_ical).to include("SUMMARY:Weekly")
expect(series_ical).to include("ATTENDEE;CN=Bob Barker;[email protected];PARTSTAT=NEEDS-ACTION;RSVP=TRU")
- expect(series_ical).to include("ATTENDEE;CN=Foo Fooer;[email protected];PARTSTAT=NEEDS-ACTION;RSVP=TRUE")
+ expect(series_ical).to include("ATTENDEE;CN=Foo Fooer;[email protected];PARTSTAT=ACCEPTED;RSVP=FALSE")
expect(series_ical).to include("RRULE:FREQ=WEEKLY")
end
end