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
use order independent comparison
ulfertsd576023d50f8
diff --git a/modules/ldap_groups/spec/models/synchronized_group_spec.rb b/modules/ldap_groups/spec/models/synchronized_group_spec.rbindex e66c2c21992..e07141b4051 100644--- a/modules/ldap_groups/spec/models/synchronized_group_spec.rb+++ b/modules/ldap_groups/spec/models/synchronized_group_spec.rb@@ -43,11 +43,11 @@ describe LdapGroups::SynchronizedGroup, type: :model doendit 'adds the user(s) to the internal group' do- expect(group.reload.users).to eq users+ expect(group.reload.users).to match_array usersendit 'adds the user(s) to the synchronized group' do- expect(synchronized_group.reload.users.map(&:user)).to eq users+ expect(synchronized_group.reload.users.map(&:user)).to match_array usersendend@@ -90,7 +90,7 @@ describe LdapGroups::SynchronizedGroup, type: :model doendit 'does not, however, delete the actual users!' do- expect(User.find(users.map(&:id))).to eq users+ expect(User.find(users.map(&:id))).to match_array usersendend