mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 14:46:05 +10:00
Disable ldap after test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user