diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-10-22 14:18:36 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-10-22 14:18:36 +0000 |
commit | 0470d27d0d3bcbeb1cbbf39db1f8afb06f686fd2 (patch) | |
tree | e44f0e72d0b212b2cba44ef584a66bf0b519fe9a /test/unit/issue_test.rb | |
parent | 6896ad12fe884c197f4d3fbcb86ec77b9b705c12 (diff) | |
download | redmine-0470d27d0d3bcbeb1cbbf39db1f8afb06f686fd2.tar.gz redmine-0470d27d0d3bcbeb1cbbf39db1f8afb06f686fd2.zip |
shorten long line of test/unit/issue_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20166 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/issue_test.rb')
-rw-r--r-- | test/unit/issue_test.rb | 8 |
1 files 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) |