mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-26 04:56:16 +10:00
Reset ldab.enabled setting after test
Should prevent CI failure
This commit is contained in:
@@ -41,6 +41,10 @@ describe Gitlab::LDAP::Access do
|
||||
Gitlab.config.ldap['admin_group'] = ''
|
||||
end
|
||||
|
||||
after do
|
||||
Gitlab.config.ldap['enabled'] = false
|
||||
end
|
||||
|
||||
it "syncs ssh keys if enabled by configuration" do
|
||||
Gitlab.config.ldap['sync_ssh_keys'] = true
|
||||
expect(access).to receive(:update_ssh_keys).with(user).once
|
||||
|
||||
Reference in New Issue
Block a user