]> source.dussan.org Git - redmine.git/commitdiff
Fix RuboCop offense Layout/LineLength due to r21757 (#37532).
authorGo MAEDA <maeda@farend.jp>
Fri, 5 Aug 2022 01:16:24 +0000 (01:16 +0000)
committerGo MAEDA <maeda@farend.jp>
Fri, 5 Aug 2022 01:16:24 +0000 (01:16 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@21758 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/helpers/issues_helper_test.rb

index 656f7d081b434c3c76fa16608f49e817ea32e0da..6992001acb8eb6b6bcd6fb866eed18ec81d3ce45 100644 (file)
@@ -414,10 +414,26 @@ class IssuesHelperTest < Redmine::HelperTest
                                      :relation_type => IssueRelation::TYPE_FOLLOWS)
 
     html = render_issue_relations(issue, [relation])
-    assert_include "<tr id=\"relation-#{relation.id}\" class=\"issue hascontextmenu issue tracker-#{closed_issue.tracker_id} status-#{closed_issue.status_id} priority-#{closed_issue.priority_id} priority-default closed rel-follows\">", html
+    assert_include(
+      "<tr id=\"relation-#{relation.id}\"" \
+      " class=\"issue hascontextmenu issue" \
+      " tracker-#{closed_issue.tracker_id}" \
+      " status-#{closed_issue.status_id}" \
+      " priority-#{closed_issue.priority_id} priority-default" \
+      " closed rel-follows\">",
+      html
+    )
 
     html = render_issue_relations(closed_issue, [relation])
-    assert_include "<tr id=\"relation-#{relation.id}\" class=\"issue hascontextmenu issue tracker-#{issue.tracker_id} status-#{issue.status_id} priority-#{issue.priority_id} priority-default rel-precedes\">", html
+    assert_include(
+      "<tr id=\"relation-#{relation.id}\"" \
+      " class=\"issue hascontextmenu issue" \
+      " tracker-#{issue.tracker_id}" \
+      " status-#{issue.status_id}" \
+      " priority-#{issue.priority_id} priority-default" \
+      " rel-precedes\">",
+      html
+    )
   end
 
   def test_render_descendants_stats