Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e7fdb8b6
Commit
e7fdb8b6
authored
Sep 27, 2019
by
Thong Kuah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix frozen string errors in specs
parent
cad2a185
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/spec/lib/ee/gitlab/auth/ldap/sync/proxy_spec.rb
ee/spec/lib/ee/gitlab/auth/ldap/sync/proxy_spec.rb
+1
-1
ee/spec/lib/gitlab/auth/o_auth/auth_hash_spec.rb
ee/spec/lib/gitlab/auth/o_auth/auth_hash_spec.rb
+1
-1
No files found.
ee/spec/lib/ee/gitlab/auth/ldap/sync/proxy_spec.rb
View file @
e7fdb8b6
...
...
@@ -28,7 +28,7 @@ describe EE::Gitlab::Auth::LDAP::Sync::Proxy do
end
context
'with a valid LDAP group that contains ASCII-8BIT-encoded Unicode data'
do
let
(
:username
)
{
'Méräy'
.
force_encoding
(
'ASCII-8BIT'
)
}
let
(
:username
)
{
(
+
'Méräy'
)
.
force_encoding
(
'ASCII-8BIT'
)
}
let
(
:dns
)
{
[
user_dn
(
username
)]
}
it
'return members DNs'
do
...
...
ee/spec/lib/gitlab/auth/o_auth/auth_hash_spec.rb
View file @
e7fdb8b6
...
...
@@ -38,6 +38,6 @@ describe Gitlab::Auth::OAuth::AuthHash do
end
def
ascii
(
text
)
text
.
force_encoding
(
Encoding
::
ASCII_8BIT
)
text
.
dup
.
force_encoding
(
Encoding
::
ASCII_8BIT
)
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment