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
8aaaefa5
Commit
8aaaefa5
authored
7 years ago
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec/features/projects/branches_spec
See
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8666
parent
7e83f244
No related merge requests found
Changes
1
Hide 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 @
8aaaefa5
...
...
@@ -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
|
...
...
This diff is collapsed.
Click to expand it.
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