diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-02-18 17:02:43 -0500 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-02-18 17:02:43 -0500 |
commit | bb4fa3a185d6cf0e2fbd5d11917ba5bcdbf92926 (patch) | |
tree | ff71d4ba9a9e0ced72d77c81d44739d61d839903 /spec/lib/gitlab/saml | |
parent | 06376be56a84b43976b63aad91638fb2c00fec1a (diff) | |
download | gitlab-ce-bb4fa3a185d6cf0e2fbd5d11917ba5bcdbf92926.tar.gz |
Make new `allow_single_sign_on` feature backwards compatible
Diffstat (limited to 'spec/lib/gitlab/saml')
-rw-r--r-- | spec/lib/gitlab/saml/user_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/saml/user_spec.rb b/spec/lib/gitlab/saml/user_spec.rb index 480ca1aee4b..de7cd99d49d 100644 --- a/spec/lib/gitlab/saml/user_spec.rb +++ b/spec/lib/gitlab/saml/user_spec.rb @@ -61,7 +61,7 @@ describe Gitlab::Saml::User, lib: true do end context 'with allow_single_sign_on disabled' do - before { stub_omniauth_config(allow_single_sign_on: []) } + before { stub_omniauth_config(allow_single_sign_on: false) } it 'should throw an error' do expect{ saml_user.save }.to raise_error StandardError end |