Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
434dcc55
Commit
434dcc55
authored
Sep 26, 2017
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix specs
parent
f8db7590
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
db/migrate/20170911134018_add_filter_to_ldap_group_links.rb
db/migrate/20170911134018_add_filter_to_ldap_group_links.rb
+2
-3
spec/ee/spec/lib/ee/gitlab/ldap/user_filter_spec.rb
spec/ee/spec/lib/ee/gitlab/ldap/user_filter_spec.rb
+2
-0
No files found.
db/migrate/20170911134018_add_filter_to_ldap_group_links.rb
View file @
434dcc55
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
class
AddFilterToLdapGroupLinks
<
ActiveRecord
::
Migration
class
AddFilterToLdapGroupLinks
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
change
add_column
(
:ldap_group_links
,
:filter
,
:string
)
add_column
(
:ldap_group_links
,
:filter
,
:string
)
end
end
...
...
spec/ee/spec/lib/ee/gitlab/ldap/user_filter_spec.rb
View file @
434dcc55
...
@@ -14,6 +14,8 @@ describe EE::Gitlab::LDAP::UserFilter do
...
@@ -14,6 +14,8 @@ describe EE::Gitlab::LDAP::UserFilter do
base:
'dc=example,dc=com'
,
base:
'dc=example,dc=com'
,
active_directory:
false
active_directory:
false
)
)
allow
(
fake_proxy
).
to
receive
(
:provider
)
end
end
describe
'#filter'
do
describe
'#filter'
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment