diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-07-28 12:52:40 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-07-28 12:52:40 -0400 |
commit | 8aaaefa5f68914613ab02a18c20244e733930fa8 (patch) | |
tree | 39cdeaec84b297c7f6bad6ee236c3b610235a748 /spec/features/projects | |
parent | 7e83f244ca8c009ec79e14467bbb06c177ce1b8e (diff) | |
download | gitlab-ce-8aaaefa5f68914613ab02a18c20244e733930fa8.tar.gz |
Fix spec/features/projects/branches_spec
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8666
Diffstat (limited to 'spec/features/projects')
-rw-r--r-- | spec/features/projects/branches_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/branches_spec.rb b/spec/features/projects/branches_spec.rb index 6e787de2dd6..ad4527a0b74 100644 --- a/spec/features/projects/branches_spec.rb +++ b/spec/features/projects/branches_spec.rb @@ -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| |