Commit dae964b2 authored by Robert Speicher's avatar Robert Speicher

Fix Gitlab::Auth spec

parent 8d638780
...@@ -82,7 +82,7 @@ describe Gitlab::Auth, lib: true do ...@@ -82,7 +82,7 @@ describe Gitlab::Auth, lib: true do
allow(Gitlab::Kerberos::Authentication).to receive_messages(valid?: true) allow(Gitlab::Kerberos::Authentication).to receive_messages(valid?: true)
allow(Gitlab::Kerberos::Authentication).to receive_messages(email: user.email) allow(Gitlab::Kerberos::Authentication).to receive_messages(email: user.email)
expect( gl_auth.find_in_gitlab_or_ldap(username, password) ).to eql user expect( gl_auth.find_with_user_password(username, password) ).to eql user
end end
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