diff options
author | Sean McGivern <sean@gitlab.com> | 2017-03-10 11:10:48 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-03-15 17:02:37 +0000 |
commit | 101fddfa9203fbcc96151e880a3a1241338a91f2 (patch) | |
tree | cd4df611aebd5cd594da22eaefaad73eb190ab1b /spec/features/projects/labels | |
parent | 6619772f2a7a12fcef86ce530e45705bbbf09dcc (diff) | |
download | gitlab-ce-101fddfa9203fbcc96151e880a3a1241338a91f2.tar.gz |
Allow sorting by due date and label priority
Diffstat (limited to 'spec/features/projects/labels')
-rw-r--r-- | spec/features/projects/labels/issues_sorted_by_priority_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/labels/issues_sorted_by_priority_spec.rb b/spec/features/projects/labels/issues_sorted_by_priority_spec.rb index de3c6eceb82..e2911a37e40 100644 --- a/spec/features/projects/labels/issues_sorted_by_priority_spec.rb +++ b/spec/features/projects/labels/issues_sorted_by_priority_spec.rb @@ -29,7 +29,7 @@ feature 'Issue prioritization', feature: true do issue_1.labels << label_5 login_as user - visit namespace_project_issues_path(project.namespace, project, sort: 'priority') + visit namespace_project_issues_path(project.namespace, project, sort: 'label_priority') # Ensure we are indicating that issues are sorted by priority expect(page).to have_selector('.dropdown-toggle', text: 'Label priority') @@ -68,7 +68,7 @@ feature 'Issue prioritization', feature: true do issue_6.labels << label_5 # 8 - No priority login_as user - visit namespace_project_issues_path(project.namespace, project, sort: 'priority') + visit namespace_project_issues_path(project.namespace, project, sort: 'label_priority') expect(page).to have_selector('.dropdown-toggle', text: 'Label priority') |