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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
466203eb
Commit
466203eb
authored
Mar 26, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Additional check in the test.
parent
1aabfcb9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
spec/models/user_spec.rb
spec/models/user_spec.rb
+2
-0
No files found.
spec/models/user_spec.rb
View file @
466203eb
...
@@ -301,6 +301,8 @@ describe User do
...
@@ -301,6 +301,8 @@ describe User do
User
.
search
(
user1
.
username
.
downcase
).
to_a
.
should
==
[
user1
]
User
.
search
(
user1
.
username
.
downcase
).
to_a
.
should
==
[
user1
]
User
.
search
(
user2
.
username
.
upcase
).
to_a
.
should
==
[
user2
]
User
.
search
(
user2
.
username
.
upcase
).
to_a
.
should
==
[
user2
]
User
.
search
(
user2
.
username
.
downcase
).
to_a
.
should
==
[
user2
]
User
.
search
(
user2
.
username
.
downcase
).
to_a
.
should
==
[
user2
]
User
.
search
(
user1
.
username
.
downcase
).
to_a
.
count
.
should
==
2
User
.
search
(
user2
.
username
.
downcase
).
to_a
.
count
.
should
==
1
end
end
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