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
Boxiang Sun
gitlab-ce
Commits
62e9bb16
Commit
62e9bb16
authored
Jul 28, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rs-fix-master' into 'master'
Fix spec/features/projects/branches_spec See merge request !13163
parents
afdb3ccb
8aaaefa5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/features/projects/branches_spec.rb
spec/features/projects/branches_spec.rb
+3
-3
No files found.
spec/features/projects/branches_spec.rb
View file @
62e9bb16
...
...
@@ -29,7 +29,7 @@ describe 'Branches' do
it
'sorts the branches by name'
do
visit
project_branches_path
(
project
)
click_button
"
Name
"
# Open sorting dropdown
click_button
"
Last updated
"
# Open sorting dropdown
click_link
"Name"
sorted
=
repository
.
branches_sorted_by
(
:name
).
first
(
20
).
map
do
|
branch
|
...
...
@@ -41,7 +41,7 @@ describe 'Branches' do
it
'sorts the branches by last updated'
do
visit
project_branches_path
(
project
)
click_button
"
Name
"
# Open sorting dropdown
click_button
"
Last updated
"
# Open sorting dropdown
click_link
"Last updated"
sorted
=
repository
.
branches_sorted_by
(
:updated_desc
).
first
(
20
).
map
do
|
branch
|
...
...
@@ -53,7 +53,7 @@ describe 'Branches' do
it
'sorts the branches by oldest updated'
do
visit
project_branches_path
(
project
)
click_button
"
Name
"
# Open sorting dropdown
click_button
"
Last updated
"
# Open sorting dropdown
click_link
"Oldest updated"
sorted
=
repository
.
branches_sorted_by
(
:updated_asc
).
first
(
20
).
map
do
|
branch
|
...
...
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