summaryrefslogtreecommitdiff
path: root/spec/features/projects/no_password_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/no_password_spec.rb')
-rw-r--r--spec/features/projects/no_password_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/no_password_spec.rb b/spec/features/projects/no_password_spec.rb
index 53ac18fa7cc..d22a6daac08 100644
--- a/spec/features/projects/no_password_spec.rb
+++ b/spec/features/projects/no_password_spec.rb
@@ -30,7 +30,7 @@ feature 'No Password Alert' do
let(:user) { create(:omniauth_user, extern_uid: 'my-uid', provider: 'saml') }
before do
- stub_application_setting(signin_enabled?: false)
+ stub_application_setting(password_authentication_enabled?: false)
stub_omniauth_saml_config(enabled: true, auto_link_saml_user: true, allow_single_sign_on: ['saml'], providers: [mock_saml_config])
end