mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-16 08:06:08 +10:00
Removed duplicated enabled
This commit is contained in:
@@ -28,7 +28,7 @@ describe Gitlab::Auth do
|
||||
end
|
||||
|
||||
context "with ldap enabled" do
|
||||
before { Gitlab::LDAP::Config.enabled.stub(enabled?: true) }
|
||||
before { Gitlab::LDAP::Config.stub(enabled?: true) }
|
||||
|
||||
it "tries to autheticate with db before ldap" do
|
||||
expect(Gitlab::LDAP::User).not_to receive(:authenticate)
|
||||
|
||||
Reference in New Issue
Block a user