Skip to content
Snippets Groups Projects
Commit 0d5ae280 authored by Jan-Willem van der Meer's avatar Jan-Willem van der Meer
Browse files

Move and rename ldap / oauth specs

parent 97547428
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -86,7 +86,8 @@ module Gitlab
end
 
def dn_matches_filter?(dn, filter)
ldap_search(base: dn, filter: filter, scope: Net::LDAP::SearchScope_BaseObject, attributes: %w{dn}).any?
ldap_search(base: dn, filter: filter,
scope: Net::LDAP::SearchScope_BaseObject, attributes: %w{dn}).any?
end
 
def ldap_search(*args)
Loading
Loading
File moved
require 'spec_helper'
 
describe Gitlab::LDAP do
describe Gitlab::LDAP::User do
let(:gl_auth) { Gitlab::LDAP::User }
 
before do
Loading
Loading
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment