Commit d2db4280 authored by Marin Jankovski's avatar Marin Jankovski

Fix stubbing in group feature.

parent 1d11e28b
......@@ -313,11 +313,11 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
end
step 'LDAP enabled' do
Gitlab.config.ldap.stub(:enabled).and_return(true)
Gitlab.config.ldap.should_receive(:enabled).and_return(true)
end
step 'LDAP disabled' do
Gitlab.config.ldap.stub(:enabled).and_return(false)
Gitlab.config.ldap.should_receive(:enabled).and_return(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