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
11e728c3
Commit
11e728c3
authored
Nov 13, 2020
by
Catalin Irimie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix linting errors
parent
440c5627
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
spec/models/user_spec.rb
spec/models/user_spec.rb
+1
-2
No files found.
spec/models/user_spec.rb
View file @
11e728c3
...
...
@@ -2174,7 +2174,7 @@ RSpec.describe User do
end
it
'returns users with a partially matching username'
do
expect
(
search_without_secondary_emails
(
user
.
username
[
0
..
2
])).
to
eq
([
user
])
expect
(
search_without_secondary_emails
(
user
.
username
[
0
..
2
])).
to
eq
([
user
])
end
it
'returns users with a matching username regardless of the casing'
do
...
...
@@ -2198,7 +2198,6 @@ RSpec.describe User do
end
end
describe
'.search_with_secondary_emails'
do
delegate
:search_with_secondary_emails
,
to: :described_class
...
...
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