Read about our upcoming Code of Conduct on this issue

Commit dc40cbe7 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Minimize CE/EE difference in Gitlab::Auth::LDAP::User


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 71e96a335906
require 'spec_helper'
describe Gitlab::Auth::LDAP::User do
include LdapHelpers
let(:ldap_user) { described_class.new(auth_hash) }
let(:gl_user) { ldap_user.gl_user }
let(:info) do
......@@ -177,8 +179,7 @@
describe 'blocking' do
def configure_block(value)
allow_any_instance_of(Gitlab::Auth::LDAP::Config)
.to receive(:block_auto_created_users).and_return(value)
stub_ldap_config(block_auto_created_users: value)
end
context 'signup' do
......
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