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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
1c7947ac
Commit
1c7947ac
authored
Feb 25, 2015
by
Robert Schilling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add UTF-8 character to version_sorter test
parent
c6e9d14c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/helpers/application_helper_spec.rb
spec/helpers/application_helper_spec.rb
+4
-4
No files found.
spec/helpers/application_helper_spec.rb
View file @
1c7947ac
...
...
@@ -192,12 +192,12 @@ describe ApplicationHelper do
it
'sorts tags in a natural order'
do
# Stub repository.tag_names to make sure we get some valid testing data
expect
(
@project
.
repository
).
to
receive
(
:tag_names
).
and_return
([
'v1.0.9'
,
'v1.0.10'
,
'v2.0'
,
'v3.1.4.2'
,
'v
1.0.9a
'
,
'v2.0-rc1'
,
'v2.0rc2'
])
and_return
([
'v1.0.9'
,
'v1.0.10'
,
'v2.0'
,
'v3.1.4.2'
,
'v
2.0rc1¿
'
,
'v
1.0.9a'
,
'v
2.0-rc1'
,
'v2.0rc2'
])
expect
(
options
[
1
][
1
]).
to
eq
([
'v3.1.4.2'
,
'v2.0'
,
'v2.0rc2'
,
'v2.0
-rc1'
,
'v1.0.10'
,
'v1.0.9
'
,
'v1.0.9a'
])
to
eq
([
'v3.1.4.2'
,
'v2.0'
,
'v2.0rc2'
,
'v2.0
rc1¿'
,
'v2.0-rc1'
,
'v1.0.10
'
,
'v1.0.9
'
,
'v1.0.9
a'
])
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