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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix spec
Oliver Günther1c9f67702909
diff --git a/spec/requests/api/v3/groups/group_resource_spec.rb b/spec/requests/api/v3/groups/group_resource_spec.rbindex b7905460734..9e069905529 100644--- a/spec/requests/api/v3/groups/group_resource_spec.rb+++ b/spec/requests/api/v3/groups/group_resource_spec.rb@@ -263,14 +263,13 @@ describe 'API v3 Group resource', type: :request, content_type: :json doit 'sends a mail notifying of the added project memberships to the added user' doexpect(ActionMailer::Base.deliveries.size)- .to eql 2+ .to eql 1expect(ActionMailer::Base.deliveries.map(&:to).flatten.uniq).to match_array another_user.mailexpect(ActionMailer::Base.deliveries.map(&:subject).flatten)- .to match_array [I18n.t(:'mail_member_added_project.subject', project: other_project.name),- I18n.t(:'mail_member_updated_project.subject', project: project.name)]+ .to match_array [I18n.t(:'mail_member_updated_project.subject', project: project.name)]endend