Commit abd03513 authored by Marin Jankovski's avatar Marin Jankovski

Do not stub ldap, use assign.

parent d2db4280
......@@ -313,11 +313,11 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
end
step 'LDAP enabled' do
Gitlab.config.ldap.should_receive(:enabled).and_return(true)
Settings.ldap['enabled'] = true
end
step 'LDAP disabled' do
Gitlab.config.ldap.should_receive(:enabled).and_return(false)
Settings.ldap['enabled'] = false
end
step 'I add a new LDAP synchronization' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment