Commit e83644ff authored by Robert Speicher's avatar Robert Speicher

Prevent transient Gitlab::LDAP::Access spec failure

We're unconcerned with ordering here, so just make sure the right values
are present.

See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2757
parent aae32406
...@@ -374,7 +374,7 @@ describe Gitlab::LDAP::Access do ...@@ -374,7 +374,7 @@ describe Gitlab::LDAP::Access do
allow(access).to receive(:ldap_user).and_return(person_with_memberof) allow(access).to receive(:ldap_user).and_return(person_with_memberof)
expect(LdapGroupSyncWorker).to receive(:perform_async) expect(LdapGroupSyncWorker).to receive(:perform_async)
.with(group_ids, provider) .with(a_collection_containing_exactly(*group_ids), provider)
access.update_memberships access.update_memberships
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment