summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitrieh <dimitriehoekstra@gmail.com>2017-03-07 15:27:09 +0100
committerdimitrieh <dimitriehoekstra@gmail.com>2017-03-07 15:27:09 +0100
commitbb6cc15a5c2c56f55c48812f586ceea20ae99daa (patch)
tree43c58d836de342f0ad6d6e082001647d18bddfcb
parent0fb8301fa49f4bf95adf559ff27e39269d458a9b (diff)
downloadgitlab-ce-bb6cc15a5c2c56f55c48812f586ceea20ae99daa.tar.gz
fix spec fixing error
-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 65fd9898861..f221b29396a 100644
--- a/spec/features/projects/labels/issues_sorted_by_priority_spec.rb
+++ b/spec/features/projects/labels/issues_sorted_by_priority_spec.rb
@@ -29,10 +29,10 @@ feature 'Issue prioritization', feature: true do
issue_1.labels << label_5
login_as user
- visit namespace_project_issues_path(project.namespace, project, sort: 'label priority')
+ 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: 'Label priority')
+ expect(page).to have_selector('.dropdown-toggle', text: 'priority')
page.within('.issues-holder') do
issue_titles = all('.issues-list .issue-title-text').map(&:text)