summaryrefslogtreecommitdiffstats
path: root/test/unit/changeset_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-23 15:10:47 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-23 15:10:47 +0000
commit857c009dbaed99da559e9733d5575264dd4b46c9 (patch)
tree499ef171a96e4c8bed55eb57ad478a3040f00482 /test/unit/changeset_test.rb
parent56d48d7eef0a09625047155b02dae721731f9e81 (diff)
downloadredmine-857c009dbaed99da559e9733d5575264dd4b46c9.tar.gz
redmine-857c009dbaed99da559e9733d5575264dd4b46c9.zip
cleanup: rubocop: fix Layout/AlignArguments in test/unit/changeset_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19210 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/changeset_test.rb')
-rw-r--r--test/unit/changeset_test.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/unit/changeset_test.rb b/test/unit/changeset_test.rb
index 3c44b5878..74c001cdb 100644
--- a/test/unit/changeset_test.rb
+++ b/test/unit/changeset_test.rb
@@ -108,12 +108,16 @@ class ChangesetTest < ActiveSupport::TestCase
assert_equal 1, time.issue_id
assert_equal 1, time.project_id
assert_equal 2, time.user_id
- assert_equal expected_hours, time.hours,
- "@#{syntax} should be logged as #{expected_hours} hours but was #{time.hours}"
+ assert_equal(
+ expected_hours, time.hours,
+ "@#{syntax} should be logged as #{expected_hours} hours but was #{time.hours}"
+ )
assert_equal Date.yesterday, time.spent_on
assert time.activity.is_default?
- assert time.comments.include?('r520'),
- "r520 was expected in time_entry comments: #{time.comments}"
+ assert(
+ time.comments.include?('r520'),
+ "r520 was expected in time_entry comments: #{time.comments}"
+ )
end
end