Commit 1cc0209a authored by Sean McGivern's avatar Sean McGivern Committed by Alfredo Sumaran

Fix style

- `reorder(nil)` is better than `reorder('')`
- Only use ASCII in comments
parent b28237b4
- if @issues.reorder('').any? - if @issues.reorder(nil).any?
- @issues.group_by(&:project).each do |group| - @issues.group_by(&:project).each do |group|
.panel.panel-default.panel-small .panel.panel-default.panel-small
- project = group[0] - project = group[0]
......
# coding: utf-8
require 'spec_helper' require 'spec_helper'
feature 'Issue prioritization', feature: true do feature 'Issue prioritization', feature: true do
...@@ -72,7 +73,7 @@ feature 'Issue prioritization', feature: true do ...@@ -72,7 +73,7 @@ feature 'Issue prioritization', feature: true do
issue_7.labels << label_2 # 5 issue_7.labels << label_2 # 5
issue_2.labels << label_3 # 6 issue_2.labels << label_3 # 6
issue_4.labels << label_4 # 7 issue_4.labels << label_4 # 7
issue_6.labels << label_5 # 8 No priority issue_6.labels << label_5 # 8 - No priority
login_as user login_as user
visit namespace_project_issues_path(project.namespace, project, sort: 'priority') visit namespace_project_issues_path(project.namespace, project, sort: 'priority')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment