From 0470d27d0d3bcbeb1cbbf39db1f8afb06f686fd2 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 22 Oct 2020 14:18:36 +0000 Subject: [PATCH] shorten long line of test/unit/issue_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20166 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/issue_test.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 6c3ae4ccc..1d6930dc0 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -1012,8 +1012,12 @@ class IssueTest < ActiveSupport::TestCase end def test_editable_custom_fields_should_return_custom_field_that_is_enabled_for_the_role_only - enabled_cf = IssueCustomField.generate!(:is_for_all => true, :tracker_ids => [1], :visible => false, :role_ids => [1,2]) - disabled_cf = IssueCustomField.generate!(:is_for_all => true, :tracker_ids => [1], :visible => false, :role_ids => [2]) + enabled_cf = + IssueCustomField.generate!(:is_for_all => true, :tracker_ids => [1], + :visible => false, :role_ids => [1, 2]) + disabled_cf = + IssueCustomField.generate!(:is_for_all => true, :tracker_ids => [1], + :visible => false, :role_ids => [2]) user = User.find(2) issue = Issue.new(:project_id => 1, :tracker_id => 1) -- 2.39.5