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
5fd2e01d
Commit
5fd2e01d
authored
Dec 11, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable ldap after test
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
9d0c5965
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
features/groups.feature
features/groups.feature
+1
-0
features/steps/groups.rb
features/steps/groups.rb
+4
-0
No files found.
features/groups.feature
View file @
5fd2e01d
...
...
@@ -60,6 +60,7 @@ Feature: Groups
When
I visit Group
"Owned"
LDAP settings page
And
I add a new LDAP synchronization
Then
I see a new LDAP synchronization listed
And
LDAP disabled
# Leave
...
...
features/steps/groups.rb
View file @
5fd2e01d
...
...
@@ -317,6 +317,10 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
Gitlab
.
config
.
ldap
.
stub
(
:enabled
).
and_return
(
true
)
end
step
'LDAP disabled'
do
Gitlab
.
config
.
ldap
.
stub
(
:enabled
).
and_return
(
false
)
end
step
'I add a new LDAP synchronization'
do
within
(
'form#new_ldap_group_link'
)
do
find
(
'#ldap_group_link_cn'
,
visible:
false
).
set
(
'my-group-cn'
)
...
...
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