summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitrieh <dimitriehoekstra@gmail.com>2017-03-07 15:28:48 +0100
committerdimitrieh <dimitriehoekstra@gmail.com>2017-03-07 15:28:48 +0100
commit6da057011d3552b972c93331469173a27ddf843d (patch)
treef05de20cfca25fa0a3de8c54d613da9e2ed3d28e
parentbb6cc15a5c2c56f55c48812f586ceea20ae99daa (diff)
downloadgitlab-ce-priority-to-label-priority.tar.gz
-rw-r--r--spec/features/projects/labels/issues_sorted_by_priority_spec.rb4
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 f221b29396a..de3c6eceb82 100644
--- a/spec/features/projects/labels/issues_sorted_by_priority_spec.rb
+++ b/spec/features/projects/labels/issues_sorted_by_priority_spec.rb
@@ -32,7 +32,7 @@ feature 'Issue prioritization', feature: true do
visit namespace_project_issues_path(project.namespace, project, sort: 'priority')
# Ensure we are indicating that issues are sorted by priority
- expect(page).to have_selector('.dropdown-toggle', text: 'priority')
+ expect(page).to have_selector('.dropdown-toggle', text: 'Label priority')
page.within('.issues-holder') do
issue_titles = all('.issues-list .issue-title-text').map(&:text)
@@ -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: 'label priority')
+ visit namespace_project_issues_path(project.namespace, project, sort: 'priority')
expect(page).to have_selector('.dropdown-toggle', text: 'Label priority')