diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-24 16:43:45 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-24 16:43:45 +0000 |
commit | 923a67595e1700624cce8f58b817aaa69f0bb894 (patch) | |
tree | 1414babaa9f135fa763159078d3f75fa0cc6b3d6 | |
parent | 8ff4ce823a1e55dc98d5789b6a3fc353d4d2ba88 (diff) | |
download | redmine-923a67595e1700624cce8f58b817aaa69f0bb894.tar.gz redmine-923a67595e1700624cce8f58b817aaa69f0bb894.zip |
cleanup: rubocop: fix Layout/IndentFirstHashElement in test/unit/project_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19264 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/unit/project_test.rb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index fec383f9d..9385dd185 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -1055,9 +1055,15 @@ class ProjectTest < ActiveSupport::TestCase user = User.find(2) project = Project.find(1) - project.send :safe_attributes=, {'custom_field_values' => { - cf1.id.to_s => 'value1', cf2.id.to_s => 'value2' - }}, user + project.send( + :safe_attributes=, + { + 'custom_field_values' => { + cf1.id.to_s => 'value1', cf2.id.to_s => 'value2' + } + }, + user + ) assert_equal 'value1', project.custom_field_value(cf1) assert_nil project.custom_field_value(cf2) |