Removed duplicated `enabled`

parent 797ac2d6
...@@ -28,7 +28,7 @@ describe Gitlab::Auth do ...@@ -28,7 +28,7 @@ describe Gitlab::Auth do
end end
context "with ldap enabled" do 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 it "tries to autheticate with db before ldap" do
expect(Gitlab::LDAP::User).not_to receive(:authenticate) expect(Gitlab::LDAP::User).not_to receive(:authenticate)
......
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