Disable ldap after test

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets
2014-12-11 17:24:10 +02:00
parent 9d0c59653c
commit 5fd2e01d67
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -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
+4
View File
@@ -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')