mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-24 20:16:08 +10:00
Fix stubbing in group feature.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user