diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-08-17 19:09:45 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-08-18 02:39:22 +0300 |
commit | c16b1651f5e20caffdbb716ff52857c47326a9b6 (patch) | |
tree | 50ea90dcbefca492399526b3dacf135df41f6c50 /spec/lib | |
parent | 9f7c7c857b97c8124ed9af36218c3cad2c6a7fc3 (diff) |
Fix infinite loop when SAML was incorrectly configured.
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/o_auth/auth_hash_spec.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/lib/gitlab/o_auth/auth_hash_spec.rb b/spec/lib/gitlab/o_auth/auth_hash_spec.rb index 4c0a4a49d2a..e4a6cd954cc 100644 --- a/spec/lib/gitlab/o_auth/auth_hash_spec.rb +++ b/spec/lib/gitlab/o_auth/auth_hash_spec.rb @@ -91,10 +91,6 @@ describe Gitlab::OAuth::AuthHash do expect(auth_hash.name.encoding).to eql Encoding::UTF_8 end - it 'forces utf8 encoding on full_name' do - expect(auth_hash.full_name.encoding).to eql Encoding::UTF_8 - end - it 'forces utf8 encoding on username' do expect(auth_hash.username.encoding).to eql Encoding::UTF_8 end |