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
9d0c5965
Commit
9d0c5965
authored
Dec 08, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ldap group sync test
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
633fb8ab
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
features/groups.feature
features/groups.feature
+1
-0
features/steps/groups.rb
features/steps/groups.rb
+5
-1
No files found.
features/groups.feature
View file @
9d0c5965
...
...
@@ -56,6 +56,7 @@ Feature: Groups
And
I should not see the
"Remove avatar"
button
Scenario
:
Add new LDAP synchronization
Given
LDAP enabled
When
I visit Group
"Owned"
LDAP settings page
And
I add a new LDAP synchronization
Then
I see a new LDAP synchronization listed
...
...
features/steps/groups.rb
View file @
9d0c5965
...
...
@@ -313,6 +313,10 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
milestone:
milestone2_project3
end
step
'LDAP enabled'
do
Gitlab
.
config
.
ldap
.
stub
(
:enabled
).
and_return
(
true
)
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'
)
...
...
@@ -324,6 +328,6 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
step
'I see a new LDAP synchronization listed'
do
expect
(
page
).
not_to
have_content
(
'No synchronizations yet'
)
expect
(
page
).
to
have_content
(
'
my-group-cn as Develop
er'
)
expect
(
page
).
to
have_content
(
'
As Developer on ldap serv
er'
)
end
end
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