Skip to content
Snippets Groups Projects
Commit 8aaaefa5 authored by Robert Speicher's avatar Robert Speicher
Browse files

Fix spec/features/projects/branches_spec

parent 7e83f244
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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|
Loading
Loading
@@ -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|
Loading
Loading
@@ -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|
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment