Fix stubbing in group feature.

This commit is contained in:
Marin Jankovski
2015-02-16 14:42:08 -08:00
parent 1d11e28b6e
commit d2db428039
+2 -2
View File
@@ -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