From c16b1651f5e20caffdbb716ff52857c47326a9b6 Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Mon, 17 Aug 2015 18:09:45 +0200 Subject: Fix infinite loop when SAML was incorrectly configured. --- spec/lib/gitlab/o_auth/auth_hash_spec.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'spec/lib') 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 -- cgit v1.2.1